mirror of
https://github.com/thestk/stk
synced 2026-04-23 15:48:37 +00:00
Version 4.4.3
This commit is contained in:
committed by
Stephen Sinclair
parent
baca57040b
commit
0aec39260a
@@ -31,7 +31,7 @@ namespace stk {
|
||||
|
||||
\sa \ref skini
|
||||
|
||||
by Perry R. Cook and Gary P. Scavone, 1995 - 2010.
|
||||
by Perry R. Cook and Gary P. Scavone, 1995-2011.
|
||||
*/
|
||||
/***************************************************/
|
||||
|
||||
@@ -95,24 +95,25 @@ class Skini : public Stk
|
||||
std::ifstream file_;
|
||||
};
|
||||
|
||||
//! A static table of equal-tempered MIDI to frequency (Hz) values.
|
||||
static const double Midi2Pitch[129] = {
|
||||
8.18,8.66,9.18,9.72,10.30,10.91,11.56,12.25,
|
||||
12.98,13.75,14.57,15.43,16.35,17.32,18.35,19.45,
|
||||
20.60,21.83,23.12,24.50,25.96,27.50,29.14,30.87,
|
||||
32.70,34.65,36.71,38.89,41.20,43.65,46.25,49.00,
|
||||
51.91,55.00,58.27,61.74,65.41,69.30,73.42,77.78,
|
||||
82.41,87.31,92.50,98.00,103.83,110.00,116.54,123.47,
|
||||
130.81,138.59,146.83,155.56,164.81,174.61,185.00,196.00,
|
||||
207.65,220.00,233.08,246.94,261.63,277.18,293.66,311.13,
|
||||
329.63,349.23,369.99,392.00,415.30,440.00,466.16,493.88,
|
||||
523.25,554.37,587.33,622.25,659.26,698.46,739.99,783.99,
|
||||
830.61,880.00,932.33,987.77,1046.50,1108.73,1174.66,1244.51,
|
||||
1318.51,1396.91,1479.98,1567.98,1661.22,1760.00,1864.66,1975.53,
|
||||
2093.00,2217.46,2349.32,2489.02,2637.02,2793.83,2959.96,3135.96,
|
||||
3322.44,3520.00,3729.31,3951.07,4186.01,4434.92,4698.64,4978.03,
|
||||
5274.04,5587.65,5919.91,6271.93,6644.88,7040.00,7458.62,7902.13,
|
||||
8372.02,8869.84,9397.27,9956.06,10548.08,11175.30,11839.82,12543.85,
|
||||
13289.75};
|
||||
8.176, 8.662, 9.177, 9.723, 10.301, 10.913, 11.562, 12.25,
|
||||
12.978, 13.75, 14.568, 15.434, 16.352, 17.324, 18.354, 19.445,
|
||||
20.602, 21.827, 23.125, 24.50, 25.957, 27.50, 29.135, 30.868,
|
||||
32.703, 34.648, 36.708, 38.891, 41.203, 43.654, 46.249, 49.0,
|
||||
51.913, 55.0, 58.271, 61.735, 65.406, 69.296, 73.416, 77.782,
|
||||
82.407, 87.307, 92.499, 97.999, 103.826, 110.0, 116.541, 123.471,
|
||||
130.813, 138.591, 146.832, 155.563, 164.814, 174.614, 184.997, 195.998,
|
||||
207.652, 220.0, 233.082, 246.942, 261.626, 277.183, 293.665, 311.127,
|
||||
329.628, 349.228, 369.994, 391.995, 415.305, 440.0, 466.164, 493.883,
|
||||
523.251, 554.365, 587.33, 622.254, 659.255, 698.456, 739.989, 783.991,
|
||||
830.609, 880.0, 932.328, 987.767, 1046.502, 1108.731, 1174.659, 1244.508,
|
||||
1318.51, 1396.913, 1479.978, 1567.982, 1661.219, 1760.0, 1864.655, 1975.533,
|
||||
2093.005, 2217.461, 2349.318, 2489.016, 2637.02, 2793.826, 2959.955, 3135.963,
|
||||
3322.438, 3520.0, 3729.31, 3951.066, 4186.009, 4434.922, 4698.636, 4978.032,
|
||||
5274.041, 5587.652, 5919.911, 6271.927, 6644.875, 7040.0, 7458.62, 7902.133,
|
||||
8372.018, 8869.844, 9397.273, 9956.063, 10548.082, 11175.303, 11839.822, 12543.854,
|
||||
13289.75};
|
||||
|
||||
} // stk namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user