Re: [PD] API for manipulating a patch in real time

2008-12-11 Thread Enrique Erne
i'd love to see pd going this direction and use it with friends. processing is a pretty good candidate imo. on osx i could get it to start and open a patch unfortunately not in -nogui mode i do not understand enough what's possible, but it would be crazy if one could use Pd with titanium,

Re: [PD] API for manipulating a patch in real time

2008-12-11 Thread Chris McCormick
Hi Miller, On Wed, Dec 10, 2008 at 09:12:23AM -0800, Miller Puckette wrote: I can imagine simply writing an example program to do this (putting some boilerplate first and then a rewritable main at the end). It would look more like this: /* don't touch me */ /* but replace the

Re: [PD] API for manipulating a patch in real time

2008-12-10 Thread IOhannes m zmoelnig
Zach Dwiel wrote: Hello first of all, there is no official API. second, you can manipulate a Pd patch by sending messages around. this is (inofficially!) documented by several people, and usually called dynamic patching. there is also a tutorial by damien henry called pd-msg which is

Re: [PD] API for manipulating a patch in real time

2008-12-10 Thread Andy Farnell
Yes! Even if it's already 'doable' having a clearly abstracted libPd with documented API is clearly the next step in Pure Data development. This should be an overriding consideration in all current dev directions. On Wed, 10 Dec 2008 20:07:04 +0900 Chris McCormick [EMAIL PROTECTED] wrote: On

Re: [PD] API for manipulating a patch in real time

2008-12-10 Thread Chris McCormick
On Wed, Dec 10, 2008 at 09:05:16AM +0100, IOhannes m zmoelnig wrote: Zach Dwiel wrote: Hello first of all, there is no official API. It would be so nice if there were an easy way to invoke Pd as a library from within other code. I know it's possible to do this (Spore, pd~, RjDj, Pd browser

Re: [PD] API for manipulating a patch in real time

2008-12-10 Thread Miller Puckette
I can imagine simply writing an example program to do this (putting some boilerplate first and then a rewritable main at the end). It would look more like this: /* don't touch me */ /* but replace the following with your code */ main() { pd_startthread(arg1 arg2...); /* do

[PD] API for manipulating a patch in real time

2008-12-09 Thread Zach Dwiel
Hello Pleas forgive me if this is already answered somewhere, but with the keywords I was using, I couldn't find anything. What I would like to do is manipulate a patch running in pd through an API in some other programming language. I know that I can send data to an existing patch from other