[PD] Setting a variable in abstractions

simone-www.io-sound.org cimo75 at gmail.com
Wed Sep 3 22:19:29 CEST 2008


On Wed, Sep 3, 2008 at 9:43 PM, Claude Heiland-Allen
<claudiusmaximus at goto10.org> wrote:
> 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...
heh yes sorry here it is
http://img115.imageshack.us/my.php?image=handsonzq0.png
>
>> 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:
>
> [route]
>
> [list prepend]
>
> [list trim]
>
> [pack]
>
> [unpack]
>
>
> I like the following idiom in abstractions:
>
> [inlet]
>  |
> [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,
>
>
> Claude
>



-- 
.wmv , .wma , .pps along with all proprietary Windows formats won t be
accepted and/or viewed....




More information about the Pd-list mailing list