overtone/overtone — pull request #69 by soulflyer (2012-03-12 04:00:04+00:00)
Title: Metronome

Added ability to count bars to metronome.

New additions to the protocol are:

tock the duration of a bar in ms
bar returns the next bar number or the timestamp of the given bar
bpb returns or sets the number of beats per bar

All these are close similes of the existing tick, beat and bpm functions

Creating a metronome is not changed. bpb is initially set automatically to be 4