@jameslo said:

@Bangflip I don't really understand this thread with respect to the hardware, but I was just curious if this thing I ported from the Arduino library "ResponsiveAnalogRead" (https://github.com/dxinteractive/ResponsiveAnalogRead) could remove all the negative first differences without making any assumptions about which way the signal should be heading (it can). I think it's just a self-adjusting version of the exponential moving average stuff that @whale-av posted. Put both files in the same directory and open "houstonData.pd" to run it.
houstonData.pd
responsiveExpMovgAvg.pd

Interesting, thank you! Will keep this for future needs.