Musical equations
From DNBWiki
Contents |
[edit] Musical Equations
[edit] Converting musical quantities to time
120 bpm = 1 beats per second
1 bar = 2 beats
120 bpm = .5 bar per second
120 bpm = .5 Hz
frequency = tempo / 240 * (1/(note length))
frequency = .0041667*tempo*(1/(note length))
[edit] Converting sample tempo change to transposition from root
If you have a sample that plays at tempo 1, e.g 120bpm, and you want to sync it to tempo 2, e.g: 170bpm, without timestretching, you can calculate the number of semitones you must transpose the sample,ns, as:
ns = 12*log2(tempo2/tempo1)
If your calculator does not have a log2 key, you can also calculate it as:
ns = 12*ln(tempo2/tempo1)/ln(2)
eg:
ns = 12*log2(170/120) = 6.03 semitones

