BPM to milliseconds

To get the milliseconds between bars when you know beats per minute, calculate the pause:

pauseTime = 60000/bpm;