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