Add metronome pacing function

It would be nice to add a pacing function (like a metronome).