The “beat” in “beats per minute” refers to a quarter note: a tempo of 120 bpm will give you 120 quarter
notes to a minute. There are 60’000 milliseconds in a minute, meaning each quarter note will take
Incidentally, you can also see why 120 bpm is such a popular choice for electronic music and a default setting on most DAWs: the millisecond durations of notes down to sixteenth are nice round numbers.
This is important because quite often you want to set the parameters of your instruments or effects in such a way, that they play nicely with the entire song. You can set your delays to eighths or sixteenths for a nice rhythmic delay effect.
It is super important in compression. The release knob on a compressor was a mystery to me. My usual approach was: set it to “auto” if possible, or fiddle about with the release duration until it sounds decent and the VU meter jumps in rhythm with the music. Well, not anymore: set it to a multiple for a sixteenth note, and you will quickly get that nice compression pump.
Lastly, you can also get durations for dotted notes (great for decay applications) using this formula. Just remember that a dotted note’s duration is 1.5-times longer than of the not dotted note.
So for example: