[PD] API for manipulating a patch in real time

Jamie Bullock jamie at postlude.co.uk
Fri Dec 12 20:53:01 CET 2008


On Wed, 2008-12-10 at 09:12 -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 following with your code */
> 
> main()
> {
>    pd_startthread("arg1 arg2...");
>    	/* do anything you want */
>    pd_send("foo bang;");
> 	/* etc */
>    pd_endthread();
> }
<snip>
> Would that be a useful thing to have?

Yes, very useful! Pd 'framework' ahoy!

Jamie

-- 
www.postlude.co.uk
http://www.linkedin.com/in/jamiebullock






More information about the Pd-list mailing list