Built-in metronome