# Audio delay calculator

### Give the tempo and the time signature

Express the length of the delay as fractions of a bar

Beats per minute
90BPM
Beats per bar
4 beats
Delay fraction
2/16 bar

Length of 1 beat
0.667 sec
1.5 Hz
Length of 1 bar
2.667 sec
0.375 Hz
Delay length
0.333 sec
3 Hz

### Repeated delays

A repeated delay syncs with the beat after 8 delays = 1 bars

1 reps
1/8
`333.3 ms`
2 reps
1/4
`666.7 ms`
3 reps
3/8
`1000 ms`
4 reps
1/2
`1333.4 ms`
5 reps
5/8
`1666.7 ms`
6 reps
3/4
`2000 ms`
7 reps
7/8
`2.333 sec`
8 reps
1
`2.667 sec`

### Visualized

 1 bar 2 bars 3 bars 4 bars ♩ ♩ ♩ ♩
 1 2 3 4 5 6 7 8

If you have a 135 BPM song, and you want a phase modulation of 4 beats (1 bar): 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