Metronome

Based on an input argument (positive integer below 700 BPM), you can get a metronome that plays a sound repeatedly after a certain increment of time. The metronome even works in the background!