[PD] Control Messages

Frank Barknecht fbar at footils.org
Mon Apr 28 09:51:05 CEST 2003


Hallo,
Michael McGonagle hat gesagt: // Michael McGonagle wrote:

> I have been working on creating Abstractions that allow me to group a 
> set of line objects that are used to control various parameters via 
> messages. I group all these things together because they all share the 
> same line time/rate.
> 
> So, I have an instrument that has many parameters that all have 
> "message" destination points. I would like to use my line control groups 
> to send to different parameters. Is there a way to, within an 
> abstraction, to dynamically change the destinations of a send object?

Using a message starting with a semicolon followed by at least two
symbols will send to the first symbol.

THis is used extensively in the example patches to switch audio on and
off: [; pd dsp 1( and [; pd dsp 0(

with message arguments, you can set the target. See attached example.

ciao
-- 
 Frank Barknecht                               _ ______footils.org__
-------------- next part --------------
#N canvas 305 245 328 259 10;
#X obj 67 131 r 1-bla;
#X obj 139 130 r 2-bla;
#X msg 69 60 1;
#X msg 139 62 2;
#X msg 69 93 \; \$1-bla bang;
#X obj 139 160 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 67 162 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X connect 0 0 6 0;
#X connect 1 0 5 0;
#X connect 2 0 4 0;
#X connect 3 0 4 0;


More information about the Pd-list mailing list