hi Peter - i remember that post. having very recently come into game audio i got myself acquainted with middleware through FMOD, and immediately thought there should be a better way to do this. i&#39;ve read the posts on the goal of separating the GUI from the code, and that&#39;s what i think should happen, but doing it in Unity Free is my focus. things like not being able to implement filtering in your audio unless you pay $1500 for Unity Pro is absurd.<div>
<br></div><div>what i&#39;m envisioning is TCP or event-based communication to an app that is using libPD. the app would have a GUI talking directly to libPD and outputting audio. vitally important to this would be the ability to dynamically create or instantiate patches or objects. i&#39;m fairly certain this can be done in PD. can such a thing also be done with libPD?</div>
<div><br></div><div>regarding using the separate app - ideally i want something that can be used for a variety of game engines, not just Unity. if we use libPD in a Unity project, then we&#39;d either be forced to create the GUI in Unity or have separate communication with the GUI outside of Unity. i suppose that&#39;s possible but i&#39;d have to consider whether it&#39;s more efficient or not.</div>
<div><br></div><div>scott</div><div><br></div><div><div class="gmail_quote">On Sat, Aug 11, 2012 at 4:56 PM, Peter Brinkmann <span dir="ltr">&lt;<a href="mailto:peter.brinkmann@googlemail.com" target="_blank">peter.brinkmann@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im HOEnZb">I hope that it won&#39;t be necessary to do this in two steps, prototyping<br>
with Pd and deployment with libpd; that would mean discarding one of<br>
the strengths of libpd (here&#39;s an old blog post on the matter:<br>
<a href="http://nettoyeur.noisepages.com/2011/02/libpd-workflow-prototyping-and-production/" target="_blank">http://nettoyeur.noisepages.com/2011/02/libpd-workflow-prototyping-and-production/</a>).<br>
It would be great if somebody figured out how to integrate libpd into<br>
Unity and then posted the code to GitHub. I&#39;m still hoping that Henk<br>
Boom will write the blog post that he hinted at a while ago.<br>
Cheers,<br>
     Peter<br>
<br>
On Sat, Aug 11, 2012 at 1:13 PM, Scott R. Looney &lt;<a href="mailto:scottrlooney@gmail.com">scottrlooney@gmail.com</a>&gt; wrote:<br>
</div><div class="HOEnZb"><div class="h5">&gt; i think the answer at the moment is not to use libPD when running Unity live<br>
&gt; in a prototyping designing fashion, but rather instead communicate messages<br>
&gt; via TCP to PD itself, and let PD do the work directly. then when building<br>
&gt; the iOS project, you adjust the code in Xcode to use libPD for the audio<br>
&gt; output. that&#39;s the tricky part. i think that could work for now. it becomes<br>
&gt; a lot more complex to set simple audio sources, but perhaps there could be a<br>
&gt; mixture going on. i&#39;ll probably take further discussion off list as it would<br>
&gt; not relate as much to PD but more to Unity.<br>
&gt;<br>
&gt; scott<br>
&gt;<br>
&gt;<br>
&gt; On Sat, Aug 11, 2012 at 8:50 AM, patrick &lt;<a href="mailto:puredata@11h11.com">puredata@11h11.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; hi Scott,<br>
&gt;&gt;<br>
&gt;&gt; it&#39;s somewhat working for me on Windows, but only when using the<br>
&gt;&gt; audio.clip.GetData / SetData. right now i am trying to use the<br>
&gt;&gt; OnAudioFilterRead() but it&#39;s glitchy (i can hear pd running but it&#39;s mostly<br>
&gt;&gt; noise).<br>
&gt;&gt;<br>
&gt;&gt; you can see an attempt here:<br>
&gt;&gt; <a href="http://goo.gl/BWdo4" target="_blank">http://goo.gl/BWdo4</a><br>
&gt;&gt;<br>
&gt;&gt; here&#39;s my github:<br>
&gt;&gt; <a href="https://github.com/patricksebastien/libpd4unity" target="_blank">https://github.com/patricksebastien/libpd4unity</a><br>
&gt;&gt;<br>
&gt;&gt; OnAudioFilterRead():<br>
&gt;&gt; <a href="http://goo.gl/WE2Xx" target="_blank">http://goo.gl/WE2Xx</a><br>
&gt;&gt;<br>
&gt;&gt; keep us updated!<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt; UNSUBSCRIBE and account-management -&gt;<br>
&gt;&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt; UNSUBSCRIBE and account-management -&gt;<br>
&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;<br>
</div></div></blockquote></div><br></div>