[PD] [Pd] Writing subpatch contents, was Re: [Csnd] Writing subpatch contents

Frank Barknecht fbar at footils.org
Thu Nov 22 15:20:45 CET 2007

Chuckk Hubbard hat gesagt: // Chuckk Hubbard wrote:

> On Nov 22, 2007 11:58 AM, Frank Barknecht <fbar at footils.org> wrote:
> > Hallo,
> > I would indeed use abstractions for this. They can be saved with Ctrl-S,
> > which is easier than your subpatch saving, which seems overcomplicated
> > to me. But of course to each his own. ;)
> To save all 8 automatically with one button would then involve sending
> [key] messages to all of them for Ctl-S, no?

I'd go slightly a different route: Assuming you edit and extend all 8
abstractions one by one, you could save each one after you're finished
editing it with a single Ctrl-S. Of course you could not (easily) save
all 8 abstractions with one command, but I don't think this would
really be necessary. 

Cyrille Henry told me once about the interesting setup chdh are using
(Cyrille, correct me if I don't remember all of this correctly.) chdh
started as a project of Cyrille and his brother Damien (now its a
trio), who both lived in different cities. To make working together
easier, they use a version control repository where abstractions are
checked in. 

The main performance patch is dynamically created according to a
config file, that just lists the instrument abstractions to load into
it.  So if for example Damien fixed some stuff in an instrument
abstraction, he would check it in, then Cyrille would do a "cvs/svn
up" and rebuild the performance patch by clearing and reloading all
used abstractions with some simple dynamic message editing.

The dynamic messages for this could be: ";pd-performance clear" to
start over with an empty [pd performance] subpatch, then a "read
config.txt, rewind"---->[textfile] to load the config file, whose
content then gets dumped by [until] into a: ";pd-performance obj X Y
$1" possibly replacing X/Y with appropriate coordinates generated from
a counter. No "editmode", "select all", "vis 1" or so necessary and
almost as easy as instantiating data structures. ;)

See attached patches for how this could work.

 Frank Barknecht                                     _ ______footils.org__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: performance.tgz
Type: application/x-gtar
Size: 1002 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20071122/b25ca9eb/attachment.tgz>

More information about the Pd-list mailing list