<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi list,<div><br></div><div>here's a new blog post from our programmer, talking about libpd and Unity- I thought this could be an interesting read for some of you :) !</div><div><br></div><div><a href="http://t.co/jCQerD6h">http://t.co/jCQerD6h</a></div><div><br></div><div><br></div><div>Cheers,</div><div><br></div><div>Filippo</div><div><br></div><div><br></div><div><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Filippo Beck Peccoz<br>Game Audio<br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><a href="http://www.fbpsound.com">www.fbpsound.com</a></div><div>Twitter:&nbsp;<a href="http://twitter.com/fbpsound">@fbpsound</a></div><div>Skype: fbpsound</div><div>Mobile: +49-(0)1520-4004143</div></div></div></div></span></div></span></div>
</div>
<br><div><div>On Aug 14, 2012, at 6:11 AM, Scott R. Looney wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">thanks peter! - this is helpful. it looks like sebastien has been doing something with his version of WebPD fairly recently so i'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's definitely good to hear about Patrick'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'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't<br>
know the current state of this idea.<br>
Cheers,<br>
&nbsp; &nbsp; &nbsp;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've read the posts on the goal of<br>
&gt; separating the GUI from the code, and that'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'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'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'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's<br>
&gt; possible but i'd have to consider whether it'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'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'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'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; &nbsp; &nbsp; &nbsp;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'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'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'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's glitchy (i can hear pd running but it'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'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>
_______________________________________________<br><a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br></blockquote></div><br></div></body></html>