[chuck-users] classes / bpm?

Scott Wheeler wheeler at kde.org
Tue Oct 16 11:43:32 EDT 2007

Josh Lawrence wrote:
> 2) I need to be able to figure out how to handle time-based stuff
> using bpm.  for example, if I have a song that is 80 bpm, how do I
> send quarter notes at that tempo?  I've done some research on the
> 'net, and it seems that figuring this out is harder than I think it
> should be.  considering I'm a math idiot, can someone give me some
> simple(r) way to do this?

I have an old metronome class here:


Usage would be something like:

Metro metro;


    metro.pulse => now;
    // do something related to the beat


More information about the chuck-users mailing list