I'm working on a project where I'm taking accelerometer/gyroscope data from arduino into PD (vanilla) and using those data points to modulate sound parameters. For example, I may take acceleration along an X axis and apply that to a change in frequency or amplitude.
The accelerometer is attached to my hand and records a constant stream of my movements in space, which leads to a large degree of modulation of the sound parameter.
One issue I am having, is that this is creating a lot of clicks! I guess because I have a constant stream of rapidly changing data inputs, I'm frequently getting jolts in the movements. At the same time, I want to preserve that variability / intricacy coming from the constant data stream, but somehow without creating the clicks.
I've attached a patch that I'm experimenting with, would be great to get some advice on how I might adjust something like this to moderate the clicking