[sdiy] Digital filtering of pot input

Matthias Puech matthias.puech at gmail.com
Sat Dec 3 15:11:39 CET 2016


Le 3 déc. 2016 à 09:20, rsdio at audiobanshee.com a écrit :
> Doesn't this mean that you can't reach the top and bottom of your pot?

Yes of course, you have to rescale it afterwards. For a small H and for my purpose it will have no bad effect.

> I assume that you meant to type:
> 
> if (fabs(reading - output) > 0.01)
>   output = reading;

Yes I did, thanks for the correction.
	-m



More information about the Synth-diy mailing list