Hydrogen Forum > Hydrogen on Mac OS X > New binaries for macosx

pages: 1 2
joostjodel
Member
85 posts

20:57 GMT
18 November 2009
 New binaries for macosx
Hi all,

Made a new version for mac osx 10.6 from SVN (version 1477). Here's what I built it with:

$ scons alsa=0 coreaudio=1 coremidi=0 flac=1 jack=1 lash=0 libarchive=0 lrdf=0 oss=0 portaudio=0 portmidi=0 bundle=1


Building from SVN source with scons is a truly breeze now if you have all dependencies installed with Macports or Fink (great work Sebastian and others devs!!). I used Fink in 64bit mode to install required dependencies (QT, flac, jack).

A few caveats/notes:
* This 64bit binary does not work on 10.5 (at least, a quick test on a 10.5 system failed) and likely also won't work on anything earlier than a C2Duo cpu.

* Tried building with CoreMIDI, but the app became very unstable as soon as I started tinkering with midi (will file a bug report separately). This could have something to do with the fact that I built Hydrogen as a 64bit app?(?)

* Enabled Jack in this build, but changing the sound output in the app preferences gives me an error "couldn't restart output", and no sound via jack (using both Jackpilot and the Fink binary - I get a nasty squeek and that's it..). Likely the 64bit thing again...

* I also tried building with portaudio/portmidi but building failed, probably for the same 64bit reason.

Maybe I should reinstall Fink in 32bit mode?:\


Anyway, it does work with Coreaudio output. Here it is:
[removed]


== EDIT ==
Of course that versioning number was 1447 (not1477).

Anyway, here's a new 64 bit binary with working midi (thanks mauser for fixing that coremidi bug!):
[removed]

(built with alsa=0 coreaudio=1 coremidi=1 flac=1 jack=1 lash=0 libarchive=0 lrdf=1 oss=0 portaudio=1 portmidi=0 bundle=1)

The only thing still not working properly is jack.
And Snow Leopard 10.6 only I'm afraid?

== EDIT Dec. 4 2009 ==
New one with wolke's audio export feature (osx 10.6 64bit ):
[removed]

== EDIT Dec. 6 2009 ==
New one with wolke's audio export feature (osx 10.6 64bit ):
See changelog in this thread:
[removed]

== EDIT Dec. 22 2009 ==
New versions from svn:

Intel Snow Leopard x86_64 http://web.inter.nl.net/users/chef/Hydrogen-svn1485-x86_64.dmg (ca. 28 MB) [removed, search forum for the announcement of a newer version]

PowerPC Leopard ppc http://web.inter.nl.net/users/chef/Hydrogen-svn1482-ppc.dmg (ca. 20 MB)

==EDIT==
Look here for newest versions:
http://hydrogen-music.org/forum/index.php?action=show_thread&thread=1187&fid=7&page=1 [or look for more recent post about newer version]
reply
baccalla
Member
12 posts

08:13 GMT
23 November 2009
Hello,
I look for a package with jack enabled for Leopard.
Is someone have this ?

I've tried to compile hydrogen from macport with jack option enabled and it has compiled.
unfortunaly i have an error when i enable it in properties (couldn't restart output).

i would like to have this to route each output of hydrogen to Garage Band through Jack.
Garage band works fine with jack

best regards
reply
mauser
Member
544 posts

10:46 GMT
23 November 2009
Hi!

Have you tried to startup jack *before* starting hydrogen? This solved my jackd problems on osx..
reply
baccalla
Member
12 posts

11:00 GMT
23 November 2009
i ve tried to start jack trought jackosx.
i start first jacosx and hydrogen after

To compile hydrogen with mac port, i have compiled macport jack since it is a dependance

So maybe, i have to launch jack from the jack macport and not jackosx but i don't know how.
i ve tried jackd -d coreaudio is freezing on load driver

I ve tried to compile qjackctl to simplify but i have an error on Qt4-x11 so :s
reply
mauser
Member
544 posts

11:16 GMT
23 November 2009
Hi!

Yep, that's seems to be the problem.. You should remove the macports jack and update your jackosx installation. Then recompile hydrogen.
I'm going to update the howto on this point..
reply
baccalla
Member
12 posts

15:54 GMT
23 November 2009
i don't know which howto do you speak about ?
Could you please give a link ?
reply
baccalla
Member
12 posts

18:31 GMT
23 November 2009
i ve tryed this but i doesn't seem to work :
install jackosx 0.83
add option on macport jack to 1

sudo port install hydrogen

i get
Feature Overview:

lash: disabled
oss: disabled
alsa: disabled
jack: enabled
libarchive: disabled
portaudio: disabled
portmidi: disabled
coreaudio: enabled

=================================================================

Package jack was not found in the pkg-config search path.
Perhaps you should add the directory containing `jack.pc'
to the PKG_CONFIG_PATH environment variable
No package 'jack' found
OSError: 'pkg-config --modversion jack' exited 1:
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_hydrogen/work/hydrogen-0.9.4-rc1-1/SConstruct", line 505:
libhyd = get_hydrogen_lib( opts )
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_hydrogen/work/hydrogen-0.9.4-rc1-1/SConstruct", line 181:
env.ParseConfig('pkg-config --modversion jack', get_jack_api_flags)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/scons-1.2.0/SCons/Environment.py", line 1447:
return function(self, self.backtick(command))
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/scons-1.2.0/SCons/Environment.py", line 585:
raise OSError("'%s' exited %d" % (command, status))

Error: Status 1 encountered during processing.

so i try this : export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig and reload port
i still get the same error


--------------------------------
i have tried also by the following howto http://trac.assembla.com/hydrogen/wiki/development%3AcompileOSX

i get the error of alsa -> modified the variable ok->
and here i am blocked by libtar which is installed.
scons did not manage to reach it
reply
mauser
Member
544 posts

15:50 GMT
24 November 2009
Hi!

Did you install libtar with macports? I''ve just rebuild it here on snow leopard and it works great.. I've installed all deps from macports and compile hydrogen manualy with scons.
reply
joostjodel
Member
85 posts

01:05 GMT
26 November 2009
@baccalla

Try doing

$ export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig

This should point to the Macports installation of jack.

Otherwise, what might help is adding this line in the Sconstruct file on line 93:

includes.append( '/opt/local/include/jack' )

and commenting out (by putting # in front of the line):

includes.append( '/usr/local/include/jack' )

Good luck!
reply
mauser
Member
544 posts

08:23 GMT
26 November 2009
@joostjodel: BTW. i think i've fixed the segfault with coremidi, a bugfix shouldbe already in the repository.
reply
baccalla
Member
12 posts

10:38 GMT
26 November 2009
thanks to joostjodel, i manage to compile with jack bud didn't manage to make it works
:S

in hydrogen when i choose jack it tells "failed to load audio driver"
i don't know what's wrong

i have tryed launching jack by jackpilot or with jackd -v -d coreaudio
result in hydrogen is the same.

if someone have a pck ready to use for leopard 10.5 with jack support
i m interrested :)
reply
joostjodel
Member
85 posts

11:10 GMT
26 November 2009
@mauser:
I saw you did, great, thanks! I already edited my first post in this thread to link to a new binary that includes coremidi.

And yes, I think midi works now. The midi light blinks in H2 and I was able to communicate between Ableton Live and Hydrogen through midi via an internal TCP network session set up through Audio MIDI setup. I'd have to experiment a bit more with the various midi commands and how to set that up. I haven't worked much with midi but it seems there are three situations where midi is useful:
1. Create a full beat in H2 and simply play/stop this beat in another program like Ableton Live, in sync with other clips/layers.
2. Address the soundbanks of Hydrogen via midi in another program.
3. If you have a midi-device (e.g. an external keyboard) you can play and record beats in Hydrogen with the midi device.

@baccalla:
I am also having problems with jack on 10.6. H2 keeps saying it cannot load the audio driver. Neither with the newest jackosx from http://www.jackosx.com, nor with the jack compiled via Fink in /sw/.

==edit==
The odd thing though is that when I start up jack with the newest jackpilot version (which supposedly is 32/64bit compatible), Hydrogen shows up in the routing table even if its output is set to coreaudio? Anyway, I don't use jack so its no big deal to me. Midi is more important! :)
reply
baccalla
Member
12 posts

17:40 GMT
27 November 2009
So i'm not the only one :)
i will wait so, if someone has a clue to make it works, it will be great

to me, the purpose is to use hydrogen to play with his own databanks and record each drum element in a daw thanks to jack to keep possibility to mix in the daw.
reply
mauser
Member
544 posts

14:39 GMT
28 November 2009
Hm strange, hydrogen runs fine on my macbook with 10.6 / newest jackosx and ardour. Jack needs to run *before* hydrogen, but otherwise, everything seems to be stable. I don't have an idea why this won't work on other systems :-/ Can you run ardour or other jack applications on your system?
reply
baccalla
Member
12 posts

12:25 GMT
29 November 2009
Garage Band works with jackosx
i will try ardour to see ...

only hydrogen refuse to load jack's driver

---------edit
ardour works fine too with jackosx
reply
pages: 1 2
jump to:
Generated in 0.087 s
Powered by Pheng 0.14.0 VBB software
[c] 2003-2005 Artemio