And I forgot too! (along with accidentally writing "hit tedbot" instead of "hi tedbot" in my original reply. I definitely meant the latter, not the former!)
Hi Tedb0t, #2 is definitely what I'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'd prefer that. In particular, it seems that putting proper constraints on the final file would be nice. For example, the gui editor doesn't permit me to connect the output of an "osc" to the input of a "bang". It would be nice to have a similar limitation in the hypothetical script-based tool we're discussing. -Morgan
On Thu, Feb 3, 2011 at 10:28 AM, Tedb0t lists@liminastudio.com wrote:
Whoops, just realized I hadn't replied to the list:
It seems to me that there are two ways to maybe? accomplish what you're describing:
- 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. 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: https://github.com/virgildisgr4ce/PureeData
- can you write the patch file from a script and then load it? If you
haven't looked into it yet, the syntax is pretty basic.
±±±t3db0t
On Feb 3, 2011, at 11:40 AM, Morgan Packard wrote:
Thanks IOHannes, 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. -Morgan
On Thu, Feb 3, 2011 at 2:13 AM, IOhannes m zmoelnig zmoelnig@iem.atwrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-02-03 07:35, Morgan Packard wrote:
Hello there. I'm interested in using PD. However, as someone who spends a lot of time with code, I'm actually a little afraid of the learning curve involved
with
the graphical programming language!
well, i would say, that if you don't like graphical programming, then Pd is probably a not so good choice for you.
I'd be much more comfortable creating my patches using, for example, a Python tool. Does such a programmatic PD
patch
generation tool exist? I can't imagine I'm the first person who's wanted such a thing.
there are sure ways to programmatically create patches. from whatever environment you prefer. nevertheless you will need to understand how Pd works, in order to do such things, which will send you back to the start, where you need walk the steep hills of learning Pd.
just my 2¢.
fgmasdr IOhannes
PS: afaict, all the responses to your question mentioning "pdlua", "python", "tcl/tk" miss the point, as they talk about adding functionality to Pd with the help of text-based languages. (for unknown reasons "C" and derivatives was not mentioned). this allows you to do more things within the graphical patching environment, but it doesn't replace the graphical part.
PPS: i might as well miss the point -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1KccgACgkQkX2Xpv6ydvRMHgCfc+TCPauBdMpvyLhwaulkSXmG V7IAniZyh1H13aWEPPW9ajjUegr215B7 =0Dku -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
Web: http://www.morganpackard.com
Music/Art: Latest album: Moment Again Elsewherehttp://www.anticipaterecordings.com/releases/ANT_011/index.php iOS app Thicket http://itunes.apple.com/us/app/thicket/id364824621?mt=8available on iTunes store . ================================
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list