I am just a lowly Pd user, not a dev. How would I use libpd? Does it work just like Pd, but embeddable in other devices? or are we talking lines of code?<div><br></div><div>thanks<br><br><div class="gmail_quote">On Sun, Mar 20, 2011 at 2:04 PM, Rich E <span dir="ltr">&lt;<a href="mailto:reakinator@gmail.com">reakinator@gmail.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="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
</div>Oh, cool, I wasn&#39;t aware of that. Can you tell a bit more about the performance<br>
of this approach and how it compares to dynamic patching for dynamic instantiation<br>
of objects/patches?<br>
<div><div></div><div><br></div></div></blockquote><div><div> Ciao</div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">

<div><div>--<br> Frank Barknecht            Do You RjDj.me?          _ ______footils.org__<br><br></div></div></blockquote></div><div><br></div></div><div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">Initial performance is a little faster, as it doesn&#39;t take about 1,000 pd objects to open the patch, just a call to glob_evalfile (through whatever wrapper you are using to interface libpd), but that wasn&#39;t the main concern.  The biggest bonus for me is that you can instantiate the patches in an object-orientated manner (and in an object orientate language like python, java, obj-c, c++, etc), on the fly.  Doing this with dynamic patching involved using workarounds (like deleting to contents of a subpatch in order to just delete an embedded patch) which seemed awkward and bug prone.  Lastly, the $0 value that libpd recovers lets you send signals or messages to a unique patch, without the need of [namecanvas] - a method that causes a bag full of problems in itself when it comes to dynamic patch loading/unloading.  <div>

<br></div><div>Dynamic patch loading/unloading (not dynamic patching) could also be done directly in a pd external, provided the following small patch is accepted (:</div><div><a href="http://sourceforge.net/tracker/?func=detail&amp;aid=3189135&amp;group_id=55736&amp;atid=478072" style="color:rgb(119, 153, 187)" target="_blank">http://sourceforge.net/tracker/?func=detail&amp;aid=3189135&amp;group_id=55736&amp;atid=478072</a></div>

<div><br></div><div>Cheers,</div><div>Rich</div><font color="#888888"><div><br></div></font></span></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>_______________________________________________<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/listinfo/pd-list</a><br>
</div></div></blockquote></div></div><br>
<br>_______________________________________________<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" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Richie<br>
</div>