I’ve created
- a set of pot denoise * objects for Gills and Big Genes, respectively
- GPIO-style gpio/in/analog denoise * objects
- a general-purpose kfilter/denoise object
Sync libraries then search for “denoise” and you’ll be ready to go. let me know if anything is off!
Code is based on the excellent ResponsiveAnalogRead by dxinteractive (Damien Clarke) but does make use of ARM float instructions to save DSP.
Especially the float divide instruction (vdiv.f32) is helpful here since without it every move on every pot would cause a cumulative 3% spike in DSP load.