thanks peter! - this is helpful. it looks like sebastien has been doing something with his version of WebPD fairly recently so i&#39;ll shoot him an email to see where things are at with this.<div><br></div><div>@ everyone else,</div>
<div><br></div><div>with regard to making things work on Unity Free, the best approach i believe would be to use the GetData and SetData functions. anything involving a filter function in Unity or Plugins in other languages other that C# will not work unless you have a license for Unity Pro. it&#39;s definitely good to hear about Patrick&#39;s progress, however. I think one step to testing on Unity Free would be to take the DLL plugin out of the Plugins folder and see if it will work.</div>
<div><br></div><div>i&#39;ll contribute what i can on the wiki. hope this can really come together!</div><div><br></div><div>scott<br><br><div class="gmail_quote">On Mon, Aug 13, 2012 at 8:47 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">Hi Scott,<br>
About dynamic patching with libpd, the topic came up at Pd Everywhere:<br>
<a href="http://createdigitalnoise.com/discussion/867/webpd-reloaded" target="_blank">createdigitalnoise.com/discussion/867/webpd-reloaded</a><br>
<br>
The upshot is that dynamic patching is done with Pd messages, and the<br>
message passing mechanism of libpd supports this. There has been talk<br>
of creating a dynamic patching library on top of libpd, but I don&#39;t<br>
know the current state of this idea.<br>
Cheers,<br>
     Peter<br>
<br>
<br>
On Sun, Aug 12, 2012 at 12:05 AM, Scott R. Looney<br>
<div class="HOEnZb"><div class="h5">&lt;<a href="mailto:scottrlooney@gmail.com">scottrlooney@gmail.com</a>&gt; wrote:<br>
&gt; hi Peter - i remember that post. having very recently come into game audio i<br>
&gt; got myself acquainted with middleware through FMOD, and immediately thought<br>
&gt; there should be a better way to do this. i&#39;ve read the posts on the goal of<br>
&gt; separating the GUI from the code, and that&#39;s what i think should happen, but<br>
&gt; doing it in Unity Free is my focus. things like not being able to implement<br>
&gt; filtering in your audio unless you pay $1500 for Unity Pro is absurd.<br>
&gt;<br>
&gt; what i&#39;m envisioning is TCP or event-based communication to an app that is<br>
&gt; using libPD. the app would have a GUI talking directly to libPD and<br>
&gt; outputting audio. vitally important to this would be the ability to<br>
&gt; dynamically create or instantiate patches or objects. i&#39;m fairly certain<br>
&gt; this can be done in PD. can such a thing also be done with libPD?<br>
&gt;<br>
&gt; regarding using the separate app - ideally i want something that can be used<br>
&gt; for a variety of game engines, not just Unity. if we use libPD in a Unity<br>
&gt; project, then we&#39;d either be forced to create the GUI in Unity or have<br>
&gt; separate communication with the GUI outside of Unity. i suppose that&#39;s<br>
&gt; possible but i&#39;d have to consider whether it&#39;s more efficient or not.<br>
&gt;<br>
&gt; scott<br>
&gt;<br>
&gt; On Sat, Aug 11, 2012 at 4:56 PM, Peter Brinkmann<br>
&gt; &lt;<a href="mailto:peter.brinkmann@googlemail.com">peter.brinkmann@googlemail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I hope that it won&#39;t be necessary to do this in two steps, prototyping<br>
&gt;&gt; with Pd and deployment with libpd; that would mean discarding one of<br>
&gt;&gt; the strengths of libpd (here&#39;s an old blog post on the matter:<br>
&gt;&gt;<br>
&gt;&gt; <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>
&gt;&gt; It would be great if somebody figured out how to integrate libpd into<br>
&gt;&gt; Unity and then posted the code to GitHub. I&#39;m still hoping that Henk<br>
&gt;&gt; Boom will write the blog post that he hinted at a while ago.<br>
&gt;&gt; Cheers,<br>
&gt;&gt;      Peter<br>
&gt;&gt;<br>
&gt;&gt; On Sat, Aug 11, 2012 at 1:13 PM, Scott R. Looney &lt;<a href="mailto:scottrlooney@gmail.com">scottrlooney@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; i think the answer at the moment is not to use libPD when running Unity<br>
&gt;&gt; &gt; live<br>
&gt;&gt; &gt; in a prototyping designing fashion, but rather instead communicate<br>
&gt;&gt; &gt; messages<br>
&gt;&gt; &gt; via TCP to PD itself, and let PD do the work directly. then when<br>
&gt;&gt; &gt; building<br>
&gt;&gt; &gt; the iOS project, you adjust the code in Xcode to use libPD for the audio<br>
&gt;&gt; &gt; output. that&#39;s the tricky part. i think that could work for now. it<br>
&gt;&gt; &gt; becomes<br>
&gt;&gt; &gt; a lot more complex to set simple audio sources, but perhaps there could<br>
&gt;&gt; &gt; be a<br>
&gt;&gt; &gt; mixture going on. i&#39;ll probably take further discussion off list as it<br>
&gt;&gt; &gt; would<br>
&gt;&gt; &gt; not relate as much to PD but more to Unity.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; scott<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &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; &gt;&gt;<br>
&gt;&gt; &gt;&gt; hi Scott,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; it&#39;s somewhat working for me on Windows, but only when using the<br>
&gt;&gt; &gt;&gt; audio.clip.GetData / SetData. right now i am trying to use the<br>
&gt;&gt; &gt;&gt; OnAudioFilterRead() but it&#39;s glitchy (i can hear pd running but it&#39;s<br>
&gt;&gt; &gt;&gt; mostly<br>
&gt;&gt; &gt;&gt; noise).<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; you can see an attempt here:<br>
&gt;&gt; &gt;&gt; <a href="http://goo.gl/BWdo4" target="_blank">http://goo.gl/BWdo4</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; here&#39;s my github:<br>
&gt;&gt; &gt;&gt; <a href="https://github.com/patricksebastien/libpd4unity" target="_blank">https://github.com/patricksebastien/libpd4unity</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; OnAudioFilterRead():<br>
&gt;&gt; &gt;&gt; <a href="http://goo.gl/WE2Xx" target="_blank">http://goo.gl/WE2Xx</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; keep us updated!<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt; &gt;&gt; UNSUBSCRIBE and account-management -&gt;<br>
&gt;&gt; &gt;&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt; &gt; UNSUBSCRIBE and account-management -&gt;<br>
&gt;&gt; &gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>