From: Jamis Buck Date: 2005-03-22T02:52:40+09:00 Subject: Re: FMOD or other sound libraries...anyone? On Mar 21, 2005, at 9:49 AM, David Plans Casal wrote: > > On 21 Mar 2005, at 15:55, Jamis Buck wrote: > >>> I think I remember Jamis mentioned something once... something about >>> Ruby and FMOD, but it might have been a different sound library... >>> >> >> It was FMOD. I wrote some simple bindings for my Vimscriber >> transcription application, using Ruby/DL, but...alas...I can't get it >> to work on OSX, which is what the OP seems to want. If only FMOD were >> opensource, I could compile it to a shared library, but as it is the >> OSX version of FMOD is only distributed as a static lib. (Someone, >> please correct me if I'm wrong!) >> >> I, too, would be very interested in Ruby bindings to a sound lib for >> OSX. Would ruby-cocoa work? Anyone know? > > Are you talking about http://www.fmod.org/files/fmodapi3741mac.sit ? > > Their website says 'Carbon based. Codewarrior CFM and GCC Mach-O > Compatible.' That's the one. However, my bindings are Ruby/DL based, which means Ruby tries to load the library and execute the code directly, without a compiled glue-layer. I'm sure an enterprising individual could write a C extension to Ruby that used the FMOD routines...but I'd rather not have to. - Jamis