Changing BPM with my heart rate

sky rat's icon

So I built a heartrate arduino sensor and I'm sending data to Max, every time my heart beats it sends a "1" I would really like to map this to control the tap tempo button, so every time my heart beats it taps the tempo in live.

I currently have built the patch that takes in data in Max 7, but I own Max for Live also so would be open to building it in Max for live also.

The data is coming in through a serial port.

I have LoopMidi Virtual Midi port ready I figured I will need it somewhere in the process

any help would be greatly appreciated! thank you

tyler mazaika's icon

Check out the LiveAPI > Song (aka live_set). It has a "tap_tempo" function you can call.

-Tyler