hey, I posted a pddp template some time ago which (I think) makes use of automated scripting. it loads the pd patch as a textfile into [textfile] and then scripts this into a subpatch. I am a little short of time right now, so explanation has to follow at a later point, sorry. get it at http://puredata.info/dev/pddp/pddp-drafts/template_ms1/view marius.
Chuckk Hubbard wrote:
I believe the question of saving automation data has come up before, but this is a different question, I think.
I want to write and read the objects in a subpatch to and from textfiles; not the state of the objects, nor scalars, but the patch itself. Is there a way? I have 8 voices in my sequencer, and 8 subpatches for creating control values to send to csoundapi~. But each Csound orchestra I work with will have different parameters for different instruments, and so the 8 will be different from each other, as well as being different depending on what score I open in my Pd sequencer. So I gave up on using abstractions with arguments, because whenever I change one they all change. But AFAIK subpatches can't be read and written by sending messages to them. Any ideas? Is there a 'menusaveas' message or something? -Chuckk