I used pix_blob object from puredata extended. There are two value, X, Y.
When I move horizantal on screen is changing frequency
When I move horizantal on screen is changing frequency
at moment that. Vertical position is Y increase or decrease volume. I use additive shyntesis method to produce sound.download the motion patch
enjoy.