XML Feeds

.

[maxmsp] Re: Bpm tracking

mzed mzed at cnmat.berkeley.edu
Thu May 1 11:50:13 MDT 2008


Quote: Phil wrote on Thu, 01 May 2008 09:52
----------------------------------------------------
> Hi all, I'm having trouble making a bpm counter.
> 
> I've got a signal pulse in the form of a bang and want to track its bpm and display it in a number box. 
> 
> I know its simple but i just can't seem to get it going.
> 
> ....I think I need to use the timer object?
> 
> 
> Any help greatly appreciated
> 
> Phil
----------------------------------------------------


Connect the bang that is your pulse to both inlets of timer.  What timer will output is the number of milliseconds between beats.

Next, type this in an object box: !/ 60000

Connect the output of timer to the input of that box. That will output BPM.  Why? Because there are 60000 milliseconds in a minute, 60000/ms-per-beat = beats per minute.

good luck,

mz
--
|| michael f. zbyszynski -- molecular gastronimist
|| http://www.cnmat.berkeley.edu/
|| http://www.mikezed.com/





More information about the maxmsp mailing list