Heartbeat Pattern Recognition in MaxMSP
Hi you all, I am currently working with a couple of Heart Rate Sensors (DFRobot Gravity Heart Rate Sensor, in digital mode) to trigger sounds as part of an installation. The signal I receive in Max is a binary (0 and 1). Unfortunately the sensors pick up quite some noise when not being used (attached to the finger). And also after doing some denoising the sensors still get crazy sometimes. Therefore, I think it would make sense to implement an algorithm or sth that recognises the pattern of the heartbeat. I did some research and found the fft~ object which I think could help me with that. But as I am still very new to Max (and at the beginning of learning coding basics) this is very hard for me to understand. Therefore, I was wondering if someone already did something like that and could share that with me. Or maybe has other ideas on how to go around this. I would be so happy to get a step further. THANK YOU!
that has to be done in arduino, it should be possible to have clean sensor output
if it is mounted correctly