[PD] Setting a variable in abstractions
marius.schebella at gmail.com
Wed Sep 3 21:40:04 CEST 2008
please send the pd-patch.
you can use send/receive in combination with dollararguments inside your
the dollararguments ($1 $2 $3 $4...) will be substituted with the
arguments you give to your abstraction.
for example, if your abstraction is called myknob, and you create it like
then every $1 will be given the value 99
[r $1-data] will then receive messages that are sent to '99-data'
in that way you can do something like
[s 1-knob], [s 2-knob], [s 3-knob] in your parent patch,
and have abstractions [myknob 1], [myknob 2], [myknob 3].
inside the myknob abstraction you need [r $1-knob] which will receive
> this is my first patch so bear with my n00bness
> I ve taken a screen shot of the whole thing open: it s a GEM patch
> that will show 8 "knobs" and rotate them depending on the MIDI cc
> input. and also show the cc value.
> So far i ve created the 8 knobs but i can t really understand how to
> send the MIDI cc from "handson2" to the abstraction "handson" and
> parse it to the right knob.
More information about the Pd-list