[PD] composing a color message

IOhannes m zmoelnig zmoelnig at iem.at
Sun Jun 20 18:00:27 CEST 2004


andreithomaz wrote:
> hello list,
> 

I am sending the patch. If somebody could take a look at it, i would
> thank you a lot.

hi.
you only seem to have problems with messages with multiple variables
while [color $1 $2 $3( is a good start, you will have to send a list of 
(at least) 3 atoms to this message, else you will get something like 
"error: $2: argument number out of range"

so it should be like

|     |    |
[pack 0 0 0]
|
[color $1 $2 $3(
|
[gemwin]

and i would suggest reading a bit about [trigger] to avoid unexpected 
behaviour...


mfg.a.dsr
IOhannes




More information about the Pd-list mailing list