you could do some blackmagic with namecanvas to use abstractions, here's an example.
although, i'm not sure how you will be able tell the different between your abstractions, but that's for you to deal with ;)
the two buttons in testpatch.pd make the two instantiations of myabstraction visible. on my machine then appear over the top of each other so you might have to move them around to make sure they are both open.
pix.
On Wed, 12 Mar 2003 17:45:26 +0000 Nick Fells nick@music.gla.ac.uk wrote:
Hi, thanks but that only seems to work for subpatches, not for abstractions...
I have two abstractions:
[avat 0]
[avat 1]
which load 'avat.pd' of course, with args 0 and 1 respectively - any suggestions as to how I'd get these to open at startup?
thanks
Nick
Maurizio Umberto Puxeddu wrote:
Why should save the parent canvas with the subcanvas open or send a "vis 1" message to the subcanvas.
If you have [pd my-subcanvas]
[loadbang] ---> [; / [pd-my-subcanvas vis 1\
In my experience PD can be quite boring regarding these things. Sometimes PD seems able to redraw correctly a subpatch only at the second run. Really, it is funny but it almost deterministic.
Maurizio Umberto Puxeddu.
On Wed, 2003-03-12 at 16:02, Nick Fells wrote:
Hi all,
Dumb question that continues to fox me and that has been covered before... what determines the canvases that open when one starts up a patch? I have a top level canvas that should open two abstraction canvases; I can't seem to get this to happen.
Cheers
Nick
Dr Nick Fells, Music Department, University of Glasgow, Tel: +44 (0) 141-330 4096 Glasgow G12 8QQ Fax: +44 (0) 141-330 3518 UK. http://www.gla.ac.uk/music/staff/nick http://www.gla.ac.uk/music/studio
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
-- Dr Nick Fells, Music Department, University of Glasgow, Tel: +44 (0) 141-330 4096 Glasgow G12 8QQ Fax: +44 (0) 141-330 3518 UK. http://www.gla.ac.uk/music/staff/nick http://www.gla.ac.uk/music/studio
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list