rconstanzo / SP-tools

A set of tools to user a Sensory Percussion pickup with Max/MSP and Max for Live
112 stars 1 forks source link

Calculating BPM from sp.speed #2

Closed kieranmaraj closed 1 year ago

kieranmaraj commented 1 year ago

Hey Rodrigo! Apologies if this isn't the best place to ask this, but I was wondering if there's a way to use the information reported by sp.speed and convert it into a BPM value?

rconstanzo commented 1 year ago

Kind of, as it starts off as that, but I run it through some log scaling to convert it to 0. to 1. range, so it's probably easiest to just do the calculation directly. It's a pretty "dumb" algorithm I'm using. Essentially this: Screenshot 2023-02-02 at 11 05 00 pm

(the p cputimer thing is from the helpfile of cpuclock

kieranmaraj commented 1 year ago

fantastic, thanks so much!