Smoothening jumping data stream. How?

bionic_beats's icon

Hi,

I receive data from a camera tracking system (x and y values) and I want to use them to control synthesizer parameters in ableton live. Basically it works, the only problem is, that the data that comes from the camera has jumps. That means for example: 65 66 67 68 110 111 112 113 etc. Now my task is to smoothen that data in Max/MSP in order to get a continuous data stream. In synthesizers such a function would be called "glide". It kind of generates values in between the jump to smoothen it. After the operation the above data should look like: 65 66 67 68 69 70 71 72 73 74 75 ..... 110 111

Any ideas?

Thanks!!

Yoann's icon

You should find everything you need here:
https://cycling74.com/forums/smoothing-out-numbers

It's good to do a bit of search in the forum's archive before asking
;)