Skip to content
Rob Stave edited this page Feb 21, 2022 · 2 revisions

Detune is 440*power(2,(n/12)) where n is a semitone ( and 1.00 is 100 cents)

0 1 1 0.05 1.002892288 0.997116053 0.1 1.005792941 0.994240424 0.15 1.008701984 0.991373087 0.2 1.01161944 0.98851402 0.25 1.014545335 0.985663199 0.3 1.017479692 0.982820599 0.35 1.020422536 0.979986196 0.4 1.023373892 0.977159968 0.45 1.026333784 0.974341891 0.5 1.029302237 0.971531941 0.55 1.032279275 0.968730095 0.6 1.035264924 0.965936329 0.65 1.038259208 0.96315062 0.7 1.041262153 0.960372945 0.75 1.044273782 0.957603281 0.8 1.047294123 0.954841604 0.85 1.050323199 0.952087892 0.9 1.053361036 0.949342121 0.95 1.056407659 0.946604269 1 1.059463094 0.943874313

const float detuneUp[21] PROGMEM = { 1, // 0 1.002892288, // 0.05 1.005792941, //.1 1.008701984 1.01161944 1.014545335, 1.017479692, 1.020422536, 1.023373892, 1.026333784, 1.029302237, 1.032279275, 1.035264924, 1.038259208, 1.041262153, // .7 1.044273782, 1.047294123, 1.050323199, 1.053361036, 1.056407659, 1.059463094 // 1

};

const float detuneDown[21] PROGMEM = { 1, 0.997116053, 0.994240424, 0.991373087, 0.98851402, 0.985663199, 0.982820599, 0.979986196, 0.977159968, 0.974341891, 0.971531941, 0.968730095, 0.965936329, 0.96315062, 0.960372945, 0.957603281, 0.954841604, 0.952087892, 0.949342121, 0.946604269, 0.943874313 }

Clone this wiki locally