In case anyone else has trouble understanding how to use the TAP button – I had to look at the code to figure it out – you tap twice to set the tempo.
This is used pretty much in electronic instruments or effects (nearly every drum machines or delay has a tap button).