Lines Matching refs:tuning
33 * A tuning program container, for use with MIDI Tuning.
41 private final double[] tuning = new double[128];
46 for (int i = 0; i < tuning.length; i++)
47 tuning[i] = i * 100;
51 for (int i = 0; i < tuning.length; i++)
52 tuning[i] = i * 100;
59 for (int i = 0; i < tuning.length; i++)
60 tuning[i] = i * 100;
65 for (int i = 0; i < tuning.length; i++)
66 tuning[i] = i * 100;
98 // http://www.midi.org/about-midi/tuning.shtml
112 tuning[i] = 100.0 *
119 // http://www.midi.org/about-midi/tuning.shtml
128 tuning[kk] = 100.0*(((xx*16384) + (yy*128) + zz)/16384.0);
148 tuning[i] = 100.0*(((xx*16384) + (yy*128) + zz)/16384.0);
166 for (int i = 0; i < tuning.length; i++)
167 tuning[i] = i * 100 + octave_tuning[i % 12];
187 for (int i = 0; i < tuning.length; i++)
188 tuning[i] = i * 100 + octave_tuning[i % 12];
202 tuning[kk] = 100.0
206 case 0x08: // scale/octave tuning 1-byte form (Non
209 // http://www.midi.org/about-midi/tuning-scale.shtml
213 for (int i = 0; i < tuning.length; i++)
214 tuning[i] = i * 100 + octave_tuning[i % 12];
217 case 0x09: // scale/octave tuning 2-byte form (Non
220 // http://www.midi.org/about-midi/tuning-scale.shtml
227 for (int i = 0; i < tuning.length; i++)
228 tuning[i] = i * 100 + octave_tuning[i % 12];
241 return Arrays.copyOf(tuning, tuning.length);
245 return tuning[noteNumber];