[PD] PYEXT : send messages - symbols & lists

sven ml.sven at subscience.de
Tue Oct 25 11:14:35 CEST 2005


At 10:46 25.10.2005, vincent rioux wrote:
>Hi Thomas,
>is there a way to format and send "simple" messages from within a 
>pyext object?
>I guess this is trivial but i always stumble across the fact that 
>the _send command prepends a 'symbol' or a 'list' flag.
>for example:
>
>self._send('pdp_rec', 'jpeg', 100)

self._send('pdp_rec', ('jpeg', 100))

>self._send('pdp_rec', 'start')

>self._send('pdp_rec', ('start',))

you have to enclose the arguments in a tuple.

sven. 





More information about the Pd-list mailing list