<div dir="ltr"><div>In fact before embedding pd into the sketch with libpd, I was using OSC to communicate it with the patch on Pdextended. As Brian says I wasn&#39;t having those externals issues, but embedding the patch and building and standalone application is my goal by now, so I guess I&#39;ll use the rjlib&#39;s abstraction collection that Dan suggests.<br>
</div><div>Anyways, do you know where I can find information on how to build the externals the &quot;painful&quot; way? Maybe someday I&#39;ll take a look at it!<br>Thanx both guys!<br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Aug 5, 2013 at 6:07 AM, Brian Fay <span dir="ltr">&lt;<a href="mailto:ovaltinevortex@gmail.com" target="_blank">ovaltinevortex@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 dir="ltr">I&#39;m guessing that this is not the desired solution (probably won&#39;t work on Android or any other platforms that use Processing), but perhaps it&#39;s worth mentioning that pd and Processing sketches can communicate via OSC messages. Both the pd patch and the Processing sketch would have to be modified, but they would be running independently of one another, so loading the externals wouldn&#39;t be an issue.<div>

<br></div><div>This solution could work well for a simple desktop application (although it&#39;s not embedded and maybe less convenient).<br><div><br></div><div>I&#39;m not sure why compiling externals for use with Processing would be any more difficult than compiling for Android, though, which from my understanding only involves changing a flag or two in a makefile.</div>

<div><br></div><div>-Brian Fay</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Aug 5, 2013 at 11:19 AM, Dan Wilcox <span dir="ltr">&lt;<a href="mailto:danomatika@gmail.com" target="_blank">danomatika@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word">It&#39;s not discussed as much because you have to rebuild libpd with the externals for Java which is not so easy, especially if you haven&#39;t done it before. Your best bet is to use an abstraction library that works with pd vanilla. <a href="https://github.com/rjdj/rjlib" target="_blank">rjlib</a> for instance, has both a resonant low pass filter and a ead~ replacement: [e_reslop] &amp; [c_ead].<div>

<br></div><div>libpd is pd-vanilla, so IMO, it&#39;s best to approach it in that way unless you can add externals directly to your project. Even then, targeting vanilla means maximum portability. Libs like rjlib really help make that not so painful ...<br>

<div><br><div><div>On Aug 5, 2013, at 6:00 AM, <a href="mailto:pd-list-request@iem.at" target="_blank">pd-list-request@iem.at</a> wrote:</div><br><blockquote type="cite"><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">

<span style="font-family:Helvetica;font-size:medium;color:rgb(127,127,127)"><b>From:<span> </span></b></span><span style="font-family:Helvetica;font-size:medium">Ňscar Martínez Carmona &lt;<a href="mailto:xamps23@gmail.com" target="_blank">xamps23@gmail.com</a>&gt;<br>

</span></div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">

<span style="font-family:Helvetica;font-size:medium;color:rgb(127,127,127)"><b>Subject:<span> </span></b></span><span style="font-family:Helvetica;font-size:medium"><b>[PD] libpd and Processing; handling externals</b><br>

</span></div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">

<span style="font-family:Helvetica;font-size:medium;color:rgb(127,127,127)"><b>Date:<span> </span></b></span><span style="font-family:Helvetica;font-size:medium">August 5, 2013 2:14:43 AM EDT<br></span></div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">

<span style="font-family:Helvetica;font-size:medium;color:rgb(127,127,127)"><b>To:<span> </span></b></span><span style="font-family:Helvetica;font-size:medium">&quot;<a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a>&quot; &lt;<a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a>&gt;<br>

</span></div><div><div><br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">

<br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">

<div dir="ltr" style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">

<div><div><div>Hi list!<br></div>I&#39;m aware that libpd and Processing are not the subjects more related to this list but I&#39;ve asked this were it&#39;s suposed to be; &quot;Pd-everywhere&quot; &#39;s threat at Create Digital Noise without any reply by now, so I&#39;m trying it here.<br>

</div>Libpd and Processing work really fine together and embedding PD patchs in Processing apps (and even making them standalone) it&#39;s quite easy: cool! The thing is that externals don&#39;t seem to work when used in the patch. That happens also whith libpd on iOS or Android aswell, but the solution is well doccumented and nicely solved in the (awesome) &quot;Making Musical Apps&quot; book by Peter Brinkmann.<span> </span><br>

I haven&#39;t found any solution to this in the Processing environment by now, does anybody know how to proceed? I&#39;m using the lipbp5 Processing&#39;s version of libpd in OSX 10.7 and more preciselly using the [moog~] and [ead~] externals.<br>

</div>Thanx!<br><div><br clear="all"><div><br>--<span> </span><br>Ňscar Martínez Carmona</div></div></div></div></div></blockquote></div><br><div>
<span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">

<div>--------</div><div>Dan Wilcox</div><div>@danomatika</div><div><a href="http://danomatika.com" target="_blank">danomatika.com</a></div><div><a href="http://robotcowboy.com" target="_blank">robotcowboy.com</a></div><div>

<br></div></div></span><br></div></span><br><br>
</div>
<br></div></div></div><br></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>
<br></blockquote></div><br></div></div></div>
<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>Ňscar Martínez Carmona<br>
</div>