Tabela de equivalência

 

midi[ -2] = 7.283808774;
midi[ -1] = 7.716926582;
midi[ 0] = 8.175798916;
midi[ 1] = 8.661957218;
midi[ 2] = 9.177023997;
midi[ 3] = 9.722718241;
midi[ 4] = 10.300861154;
midi[ 5] = 10.913382232;
midi[ 6] = 11.562325710;
midi[ 7] = 12.249857374;
midi[ 8] = 12.978271799;
midi[ 9] = 13.750000000;
midi[ 10] = 14.567617547;
midi[ 11] = 15.433853164;
midi[ 12] = 16.351597831;
midi[ 13] = 17.323914436;
midi[ 14] = 18.354047995;
midi[ 15] = 19.445436483;
midi[ 16] = 20.601722307;
midi[ 17] = 21.826764465;
midi[ 18] = 23.124651419;
midi[ 19] = 24.499714749;
midi[ 20] = 25.956543599;
midi[ 21] = 27.500000000;
midi[ 22] = 29.135235095;
midi[ 23] = 30.867706329;
midi[ 24] = 32.703195663;
midi[ 25] = 34.647828872;
midi[ 26] = 36.708095990;
midi[ 27] = 38.890872965;
midi[ 28] = 41.203444614;
midi[ 29] = 43.653528929;
midi[ 30] = 46.249302839;
midi[ 31] = 48.999429498;
midi[ 32] = 51.913087197;
midi[ 33] = 55.000000000;
midi[ 34] = 58.270470190;
midi[ 35] = 61.735412657;
midi[ 36] = 65.406391325;
midi[ 37] = 69.295657744;
midi[ 38] = 73.416191979;
midi[ 39] = 77.781745931;
midi[ 40] = 82.406889228;
midi[ 41] = 87.307057858;
midi[ 42] = 92.498605678;
midi[ 43] = 97.998858995;
midi[ 44] = 103.826174395;
midi[ 45] = 110.000000000;
midi[ 46] = 116.540940380;
midi[ 47] = 123.470825314;
midi[ 48] = 130.812782650;
midi[ 49] = 138.591315488;
midi[ 50] = 146.832383959;
midi[ 51] = 155.563491861;
midi[ 52] = 164.813778456;
midi[ 53] = 174.614115717;
midi[ 54] = 184.997211356;
midi[ 55] = 195.997717991;
midi[ 56] = 207.652348790;
midi[ 57] = 220.000000000;
midi[ 58] = 233.081880759;
midi[ 59] = 246.941650628;
midi[ 60] = 261.625565301; DO
midi[ 61] = 277.182630977; DO#
midi[ 62] = 293.664767917; RE
midi[ 63] = 311.126983722;
midi[ 64] = 329.627556913;
midi[ 65] = 349.228231433;
midi[ 66] = 369.994422712;
midi[ 67] = 391.995435982;
midi[ 68] = 415.304697580;
midi[ 69] = 440.000000000; LA 4 (segundo espaçco da clave de sol)
midi[ 70] = 466.163761518;
midi[ 71] = 493.883301256;
midi[ 72] = 523.251130601;
midi[ 73] = 554.365261954;
midi[ 74] = 587.329535835;
midi[ 75] = 622.253967444;
midi[ 76] = 659.255113826;
midi[ 77] = 698.456462866;
midi[ 78] = 739.988845423;
midi[ 79] = 783.990871963;
midi[ 80] = 830.609395160;
midi[ 81] = 880.000000000;
midi[ 82] = 932.327523036;
midi[ 83] = 987.766602512;
midi[ 84] = 1046.502261202;
midi[ 85] = 1108.730523907;
midi[ 86] = 1174.659071670;
midi[ 87] = 1244.507934888;
midi[ 88] = 1318.510227651;
midi[ 89] = 1396.912925732;
midi[ 90] = 1479.977690847;
midi[ 91] = 1567.981743927;
midi[ 92] = 1661.218790320;
midi[ 93] = 1760.000000000;
midi[ 94] = 1864.655046072;
midi[ 95] = 1975.533205024;
midi[ 96] = 2093.004522405;
midi[ 97] = 2217.461047815;
midi[ 98] = 2349.318143339;
midi[ 99] = 2489.015869777;
midi[100] = 2637.020455303;
midi[101] = 2793.825851464;
midi[102] = 2959.955381693;
midi[103] = 3135.963487854;
midi[104] = 3322.437580640;
midi[105] = 3520.000000000;
midi[106] = 3729.310092145;
midi[107] = 3951.066410049;
midi[108] = 4186.009044810;
midi[109] = 4434.922095630;
midi[110] = 4698.636286679;
midi[111] = 4978.031739553;
midi[112] = 5274.040910606;
midi[113] = 5587.651702928;
midi[114] = 5919.910763386;
midi[115] = 6271.926975708;
midi[116] = 6644.875161279;
midi[117] = 7040.000000000;
midi[118] = 7458.620184289;
midi[119] = 7902.132820098;
midi[120] = 8372.018089619;
midi[121] = 8869.844191260;
midi[122] = 9397.272573357;
midi[123] = 9956.063479107;
midi[124] = 10548.081821212;
midi[125] = 11175.303405856;
midi[126] = 11839.821526772;
midi[127] = 12543.853951416;
midi[128] = 13289.750322558;