[PD] initialization arguments and defaults

matthew shanley mshanley at alum.rpi.edu
Fri Feb 20 20:26:20 CET 2004


hi all,

i'm trying to make a patch that includes as a creation argument, a file 
to be loaded into playsf~ (but my question is valid for a symbol 
argument for anything i think). in addition, i also want a default file 
loaded if no creation argument is supplied. i've included a patch that 
accomplishes everything i need. what i'm wondering is if there is a more 
elegand solution. as i'm getting more fluent with pd, i'm trying to 
learn the best practices i can.

note that this uses [init] from iem, but i think this is fairly commonly 
distributed with pd these days? thanks for any ideas.


matt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testinit.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20040220/6029a8b5/attachment.txt>


More information about the Pd-list mailing list