# Audio delay calculator

### Give the tempo and the time signature

Express the length of the delay as fractions of the beat

### Beats/minute → msecs/beat

• Beats-per-minute: `90` BPM
• Beats-per-second: `1.5` Hz
• Length of 1 beat: `0.6667` second = 666.7 msec
• Length of 1 bar (4 beats): `2.6667` second
• ### Fraction → msecs

• Delay = 6 / 4 of a beat
• = `1000.1` msecs
• ### Repeated delays

• delay syncs with the beat after 2 repetitions = 3 beats
• x 2 = 2000 msecs
• #### Delay vs beat

 1 2 3 4
 ♩ ♩ ♩ ♩
 ↵️ ↵️

• If you have a 135 BPM song, and you want a phase modulation of 4 beats: that is 1777.6 ms
• If you have a 128 BPM song, and you want an audio delay of 2/3 of a beat: this is 312.5 ms
• #### Music calculators & converters

Beats-per-minute
Convert BPM to Hz, bar length, fractions
Audio delay
Calculate audio delay length in msec
Music Frequency
Convert pitch to musical note and wavelength
Song length
Calculate song length from BPM
Music Scale
Generate scales with frequencies