[PD] two arguments for udpsend OSC message?

Frank Barknecht fbar at footils.org
Mon Feb 13 16:56:19 CET 2012


On Mon, Feb 13, 2012 at 04:03:20PM +0100, Christoph Kuhr wrote:
> Hi list,
>
> i want to pass a second argument to the message:  send /foo/bar $1 $2
>
> but pd complains: error: $2: argument nuber out of range
>
> how can i achieve this?

The error you got means that you passed a message that was to short to the
message box - it only had one item. So to fix it send a list with two items. :) 

Also make sure that you're sending a real "list"-message, see 
http://en.flossmanuals.net/pure-data/ch038_lists/

If in doubt, add a [list] object in front of your message box to convert to a
list-message.

Ciao
-- 
 Frank Barknecht            Do You RjDj.me?          _ ______footils.org__



More information about the Pd-list mailing list