<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Whoops, just realized I hadn't replied to the list:<div><br></div><div>It seems to me that there are two ways to maybe? accomplish what you're describing:<div><br></div><div>1) what I've explored fairly deeply is using the pd "internal messages" to create objects in a running patch from a python script over a socket connection. &nbsp;There's a library someone made that handles this that I can't remember the name of right now (anyone?) but I also wrote a basic thing here:&nbsp;<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? &nbsp;If you haven't looked into it yet, the syntax is pretty basic.</div><div><br></div><div>ħħħt3db0t</div><div><br></div><div><div>On Feb 3, 2011, at 11:40 AM, Morgan Packard wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Thanks IOHannes,<div>I'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't viable for me. And thanks for your ps. You're correct that I'm not looking for ways to embed scripting into PD, I'm looking for a more script-based approach to creating PD patch files. Honestly, I'm a little surprised that this isn'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">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 class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div><div class="im">On 2011-02-03 07:35, Morgan Packard wrote:<br>
&gt; Hello there.<br>
&gt; I'm interested in using PD. However, as someone who spends a lot of time<br>
&gt; with code, I'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't like graphical programming, then Pd<br>
is probably a not so good choice for you.<br>
<div class="im"><br>
&gt; I'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't imagine I'm the first person who'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 "pdlua",<br>
"python", "tcl/tk" miss the point, as they talk about adding<br>
functionality to Pd with the help of text-based languages. (for unknown<br>
reasons "C" and derivatives was not mentioned). this allows you to do<br>
more things within the graphical patching environment, but it doesn't<br>
replace the graphical part.<br>
<br>
PPS: i might as well miss the point<br>
<div class="im">-----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">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:&nbsp;</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">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>