[PD] Setting a variable in abstractions

Claude Heiland-Allen claudiusmaximus at goto10.org
Wed Sep 3 21:43:43 CEST 2008

simone-www.io-sound.org wrote:
> hi
> this is my first patch so bear with my n00bness
> I ve taken a screen shot of the whole thing open:

I guess you missed an attachment, or it was too big, or something...

> 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.

Some objects that might be useful:


[list prepend]

[list trim]



I like the following idiom in abstractions:

[route $1]
  |      |
  |     [outlet]   // pass through everything not for us
message for us

Then you can do something like:

"foo 1, bar 23, baz 99"
[abs foo]
[abs bar]
[abs baz]

Hopefully these hints are enough,


More information about the Pd-list mailing list