i think the answer at the moment is not to use libPD when running Unity live in a prototyping designing fashion, but rather instead communicate messages via TCP to PD itself, and let PD do the work directly. then when building the iOS project, you adjust the code in Xcode to use libPD for the audio output. that&#39;s the tricky part. i think that could work for now. it becomes a lot more complex to set simple audio sources, but perhaps there could be a mixture going on. i&#39;ll probably take further discussion off list as it would not relate as much to PD but more to Unity.<div>
<br><div>scott</div><div><br><br><div class="gmail_quote">On Sat, Aug 11, 2012 at 8:50 AM, patrick <span dir="ltr">&lt;<a href="mailto:puredata@11h11.com" target="_blank">puredata@11h11.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi Scott,<br>
<br>
it&#39;s somewhat working for me on Windows, but only when using the audio.clip.GetData / SetData. right now i am trying to use the OnAudioFilterRead() but it&#39;s glitchy (i can hear pd running but it&#39;s mostly noise).<br>

<br>
you can see an attempt here:<br>
<a href="http://goo.gl/BWdo4" target="_blank">http://goo.gl/BWdo4</a><br>
<br>
here&#39;s my github:<br>
<a href="https://github.com/patricksebastien/libpd4unity" target="_blank">https://github.com/<u></u>patricksebastien/libpd4unity</a><br>
<br>
OnAudioFilterRead():<br>
<a href="http://goo.gl/WE2Xx" target="_blank">http://goo.gl/WE2Xx</a><br>
<br>
keep us updated!<br>
<br>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
</blockquote></div><br></div></div>