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:
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. 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 2) 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 <zmoel...@iem.at> wrote: > -----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 Elsewhere > iOS app Thicket available 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