Re: [MacRuby-devel] loop audio file seamlessly (Zachary Kaplan)

2011-02-24 Thread Ed Hynes
Hi Zak, I'm running MacRuby revision 5236 with BridgeSupport Preview 3 and the following script works fine: framework 'AudioToolbox' url = NSURL.fileURLWithPath "/test/loops/Lounge Vibes 01.caf" audioFileID_ptr = Pointer.new_with_type '^{OpaqueAudioFileID}' p Aud

Re: [MacRuby-devel] loop audio file seamlessly (Zachary Kaplan)

2011-02-23 Thread Shaun August
Hi Zak, Try looking at the QTMovie. It is much more reliable and handles audio well. If you need a sample I can post something tonight. Thank you, On 2011-02-22, at 10:27 PM, Zachary Kaplan wrote: > hello all, > > i received a suggestion from another member to check out the PlayFile > exa

Re: [MacRuby-devel] loop audio file seamlessly (Zachary Kaplan)

2011-02-22 Thread Zachary Kaplan
hello all, i received a suggestion from another member to check out the PlayFile example in the audio toolbox examples. while this was very helpful in putting me on the right track for basic low level audio manipulation, there are some additional related issues i've encountered in trying to port

Re: [MacRuby-devel] loop audio file seamlessly

2011-02-20 Thread Ed
Look at the PlayFile sample code in the Core Reference Library for an example of how to loop an audio file. Ed On Feb 20, 2011, at 9:21 PM, Zachary Kaplan wrote: > hello all, > > i would like to loop an audio file seamlessly. > > i have a file that, when looped in logic or garage band, sounds