Am using two ultrasonic sensors. From the 1st ultrasonic sensor that is in between 10-20 cm a music (.wav) file have to load. In other 20-30 cm another .wav file should have to load.
Like wise from other ultrasonic sensor, other .wav files should have load in different distances.This loaded file should play in BPM. For that i have written a code in Arduino. From serial of Arduino the data's like 10,20,30, etc are sending. Please try to help me to get the proper output.

How to play a .wav file in an object which is predefined according to the movement of sequence in Hradio.

http://www.pdpatchrepo.info/hurleur/Help_me.pd