I'm using a maxbotix ez4 utrasonic rangefinder, its sending signals to max using arduino2max and simplemessagingsystem, but I know very little about max and can't get the variable signals from analogue channel 0 (a0, or a - zero) to
a) trigger sound playback
b)control sound playback volume
The question is - how do I get the numbers from the sensor to play sound and vary the sound in max when the proximity of the subject to the sensor changes?
I would appreciate some advice, I'm new to max/msp.