Parse message from ardino

psyone's icon

Hi there,

I need to parse message from arduino in MaxMSP and send to midi control.
How can i absolve this.

for example:
Arduino message (104,50,127,0...)
MaxMSP (ctlout1 1,ctlout1 2, ctlout1 3, ctlout1 4...)

thanks for the help

Wetterberg's icon

I think you're looking for [itoa]?

Steven Miller's icon

Have a look at the attached files - zipped Max patches and Arduino sketches. See the READ ME file for info. Should help you get started.

Arduino-Max-stuff.zip
zip
psyone's icon

Thanks tor tud answares, but i found the solution in unpack object
But when unpack like this:
unpack i i

ctlout 1 2 ctlout 2 1

If print the value in max, works fine, but when i try to map some midi control in Live, use both value 1/1 on both of the sensors.

Thx

Steven Miller's icon

We'd need to see your sketch and patch to properly debug.

Did you check out the examples I sent?