Scheduled metronome

Set tempo and beats per bar. Beats are scheduled against the browser audio clock.