I believe there should be a way to apply a filter on a rolling set of maybe 20 samples - so you could filter out any high or low frequency elements without actually doing any smoothing like you'd get from an average. I'd have to read up on it though as my signal processing knowledge is a bit lacking!
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.
Thanks! I've now merged it and it's live: https://banglejs.com/apps/#hrv
Also filed an issue for the HRM poll interval at https://github.com/espruino/Espruino/issues/1968
I believe there should be a way to apply a filter on a rolling set of maybe 20 samples - so you could filter out any high or low frequency elements without actually doing any smoothing like you'd get from an average. I'd have to read up on it though as my signal processing knowledge is a bit lacking!