How to get the bpm from a live music input and scale it to percent?

170 views
Skip to first unread message

Mathieu

unread,
Feb 16, 2015, 8:21:05 PM2/16/15
to ligh...@googlegroups.com
With the sound card #1 and detecting beats on the low frequencies, one way to do it is:

bpmcounter(trigger(music.1.low.beat, 0, 10, 15, 0.15))*(100/160) 

The trigger(music.1.low.beat, 0, 10, 15, 0.15) actually detects beats and the bpmcounter function computes the number of beats per minute. Multiplying by (100/160), a BPM of 160 gives you 100%.

Reply all
Reply to author
Forward
0 new messages