From: Billy Stiltner billy.stiltner@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: "pd-list@iem.at" pd-list@iem.at Sent: Friday, March 9, 2012 1:49 AM Subject: Re: [PD] nonlocal message passing scope
I got stuck redoing an lfo for polysynth where each voice has it's own lfo osces but the tables sit in a parent patch. Its easy to name the lfo tables $0lfo1 ,$0lfo2 . It is not so simple when putting the table in an abstraction that can be reused. I guess just name the table $2$1 and pass in the creation argument lfo1 $0. For some reason though other things got confusing inside the abstraction.
In my demo I addressed canvas levels, but it should be easy to add some stuff for abstraction levels, too.
If a singleton table is what you're after, here's an extremely ugly hack:
[loadbang] | | [r once] | / [v table_exists] | [sel 0] | [obj 20 20 table singleton, obj 20 70 v table_exists; once 1( | [s pd-_float]
-Jonathan