Ahh, thanks for the explanation - yes, peak detection sounds good - I guess with the low pass filter we're smoothing the waveform out enough that it makes a lot of sense.
The new filter is low-pass, so it's passing the low frequency including any offset - hence it being above zero I think.
I'm not against using the Oxford filter either, if it ends up better. I guess ideally I'd like to be able to run it over some data and say for sure that yes, it does do a better job.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ahh, thanks for the explanation - yes, peak detection sounds good - I guess with the low pass filter we're smoothing the waveform out enough that it makes a lot of sense.
The new filter is low-pass, so it's passing the low frequency including any offset - hence it being above zero I think.
I'm not against using the Oxford filter either, if it ends up better. I guess ideally I'd like to be able to run it over some data and say for sure that yes, it does do a better job.