Kinect and sound puzzle

Hi everyone,

There must be a technique I don’t know how to use yet. But here is my puzzle:
-when someone get close to the kinect, the volume of the sound gets louder: from 0 to 1 (I have managed to do this),
-when no one is here, there is no sound.
(when the person is far, the kinect value on the z axis is 3, when the person is close, the kinect value on the z axis gets close to 0.)

I have a problem with this second feature: as when there is no one, the value is 1 and I would like the value for the volume of the sound to be 0.
is there any way to say: when the kinect detects no one the z value is 0 instead of 3?

I hope I was clear enough,

I would really appreciate your helps.

Best

kinect&sound.toe (11.1 KB)

Put another Math chop in the beginning of your audio signal. Reference the player index parameter of your Kinect Chop to the multiply value of the math. Boom.

Booom! Thanks a lot for your help

1 Like