add a metronome util, along with an experiment