added metronome; fixes #9