And I forgot too! (along with accidentally writing &quot;hit tedbot&quot; instead of &quot;hi tedbot&quot; in my original reply. I definitely meant the latter, not the former!)<div><br></div><div><meta charset="utf-8">Hi Tedb0t,<div>
#2 is definitely what I&#39;m interested in. It does look pretty simple to roll my own. But if someone had already created a nice tool to do this, I&#39;d prefer that. In particular, it seems that putting proper constraints on the final file would be nice. For example, the gui editor doesn&#39;t permit me to connect the output of an &quot;osc&quot; to the input of a &quot;bang&quot;. It would be nice to have a similar limitation in the hypothetical script-based tool we&#39;re discussing.</div>
<div>-Morgan</div><br><div class="gmail_quote">On Thu, Feb 3, 2011 at 10:28 AM, Tedb0t <span dir="ltr">&lt;<a href="mailto:lists@liminastudio.com">lists@liminastudio.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 style="word-wrap:break-word">Whoops, just realized I hadn&#39;t replied to the list:<div><br></div><div><div class="im">It seems to me that there are two ways to maybe? accomplish what you&#39;re describing:<div><br>
</div><div>1) what I&#39;ve explored fairly deeply is using the pd &quot;internal messages&quot; to create objects in a running patch from a python script over a socket connection.  There&#39;s a library someone made that handles this that I can&#39;t remember the name of right now (anyone?) but I also wrote a basic thing here: <a href="https://github.com/virgildisgr4ce/PureeData" target="_blank">https://github.com/virgildisgr4ce/PureeData</a></div>
<div><br></div><div>2) can you write the patch file from a script and then load it?  If you haven&#39;t looked into it yet, the syntax is pretty basic.</div><div><br></div><div>ħħħt3db0t</div><div><br></div></div><div><div class="im">
<div>On Feb 3, 2011, at 11:40 AM, Morgan Packard wrote:</div><br></div><div><div></div><div class="h5"><blockquote type="cite">Thanks IOHannes,<div>I&#39;m interested in PD primarily as an audio engine embedded in iOS apps. For legal and technical reasons, most of the other obvious choices aren&#39;t viable for me. And thanks for your ps. You&#39;re correct that I&#39;m not looking for ways to embed scripting into PD, I&#39;m looking for a more script-based approach to creating PD patch files. Honestly, I&#39;m a little surprised that this isn&#39;t a more common desire. I guess generally people who want to create patches with code simply migrate to SuperCollider or CSound or whatever. But neither of those is an option for me.</div>

<div>-Morgan<br><br><div class="gmail_quote">On Thu, Feb 3, 2011 at 2:13 AM, IOhannes m zmoelnig <span dir="ltr">&lt;<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div><div>On 2011-02-03 07:35, Morgan Packard wrote:<br>
&gt; Hello there.<br>
&gt; I&#39;m interested in using PD. However, as someone who spends a lot of time<br>
&gt; with code, I&#39;m actually a little afraid of the learning curve involved with<br>
&gt; the graphical programming language!<br>
<br>
</div>well, i would say, that if you don&#39;t like graphical programming, then Pd<br>
is probably a not so good choice for you.<br>
<div><br>
&gt; I&#39;d be much more comfortable creating my<br>
&gt; patches using, for example, a Python tool. Does such a programmatic PD patch<br>
&gt; generation tool exist? I can&#39;t imagine I&#39;m the first person who&#39;s wanted<br>
&gt; such a thing.<br>
<br>
</div>there are sure ways to programmatically create patches.<br>
from whatever environment you prefer.<br>
nevertheless you will need to understand how Pd works, in order to do<br>
such things, which will send you back to the start, where you need walk<br>
the steep hills of learning Pd.<br>
<br>
<br>
just my 2˘.<br>
<br>
fgmasdr<br>
IOhannes<br>
<br>
<br>
PS: afaict, all the responses to your question mentioning &quot;pdlua&quot;,<br>
&quot;python&quot;, &quot;tcl/tk&quot; miss the point, as they talk about adding<br>
functionality to Pd with the help of text-based languages. (for unknown<br>
reasons &quot;C&quot; and derivatives was not mentioned). this allows you to do<br>
more things within the graphical patching environment, but it doesn&#39;t<br>
replace the graphical part.<br>
<br>
PPS: i might as well miss the point<br>
<div>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
</div>iEYEARECAAYFAk1KccgACgkQkX2Xpv6ydvRMHgCfc+TCPauBdMpvyLhwaulkSXmG<br>
V7IAniZyh1H13aWEPPW9ajjUegr215B7<br>
=0Dku<br>
-----END PGP SIGNATURE-----<br>
<br>
<br>_______________________________________________<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><br clear="all"><br>-- <br><font color="#999999">================================</font><div><font color="#999999">Web:</font><br><div><a href="http://www.morganpackard.com/" target="_blank"><font color="#333333">http://www.morganpackard.com</font></a></div>

<div><br></div><div><font color="#999999">Music/Art:</font></div><div><font color="#333333">Latest album: </font><a href="http://www.anticipaterecordings.com/releases/ANT_011/index.php" target="_blank"><font color="#333333">Moment Again Elsewhere</font></a></div>

</div><div><font color="#333333">iOS app </font><a href="http://itunes.apple.com/us/app/thicket/id364824621?mt=8" target="_blank"><font color="#333333">Thicket</font></a><font color="#333333"> available on iTunes store</font>.</div>

<div><span style="color:rgb(153, 153, 153)">================================</span></div><br>
</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>
</blockquote></div></div></div><br></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><font color="#999999">================================</font><div><font color="#999999">Web:</font><br><div><a href="http://www.morganpackard.com" target="_blank"><font color="#333333">http://www.morganpackard.com</font></a></div>
<div><br></div><div><font color="#999999">Music/Art:</font></div><div><font color="#333333">Latest album: </font><a href="http://www.anticipaterecordings.com/releases/ANT_011/index.php" target="_blank"><font color="#333333">Moment Again Elsewhere</font></a></div>
</div><div><font color="#333333">iOS app </font><a href="http://itunes.apple.com/us/app/thicket/id364824621?mt=8" target="_blank"><font color="#333333">Thicket</font></a><font color="#333333"> available on iTunes store</font>.</div>
<div><span style="color:rgb(153, 153, 153)">================================</span></div><br>
</div>