implement metronome playback and controls