[PD] Libpd running in OS X app

Joe White white.joe4 at gmail.com
Fri Jul 5 13:34:47 CEST 2013


Hi guys,

Does anyone have any experience running libpd in an OS X app, using
CoreAudio.

I'm able to run a patch and receive print statements but I'm not getting
any audio output and DSP doesn't seem to be processing. I created a quick
test tone in code to see if it was my audio unit but that works. My main
problem it seems is that after calling

  [PdBase processFloatWithInputBuffer:leftBuffer outputBuffer:leftBuffer
ticks:ticks];

...the buffer is still empty. Anyone have any ideas?

I'm calling [PdBase computeAudio:] just before I start the AudioUnit.
Here's the whole controller class if that helps:
http://pastebin.com/eYf1Facp

Any help would be much appreciated!

Many thanks,

Joe









-- 
Follow me on Twitter @diplojocus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130705/89767f91/attachment.htm>


More information about the Pd-list mailing list