Playing audio file using external analog sensor using OSC

Rick Neal's icon

Hello -

I am trying to play audio files using an external analog sensor. I can get Max to "see" the sensor via udpreceive and have verified this by using a message box. Not having any luck parsing the data and us it to trigger the audio file. The data sent indicates " V 0" for off and "V 127" for on. Tried using both OSC -route and route objects.

Have reviewed lots of sites about OSC but wireless seems to be a bit tricky. Tried a few music technology sites but they refer to Touch OSC. Any help is greatly appreciated.

Thank you

Source Audio's icon

If OSC message in not a symbol, You can use zl slice 1 after udpreceive.
right outlet will output 0 or 1.

Rick Neal's icon

That worked, thank you so much!