Searched refs:tuning (Results 1 - 20 of 20) sorted by relevance
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftTuning/ |
H A D | GetName.java | 50 SoftTuning tuning = new SoftTuning(); 51 tuning.setName("custom"); 52 assertEquals(tuning.getName(), "custom");
|
H A D | NewSoftTuningPatch.java | 50 SoftTuning tuning = new SoftTuning(new Patch(8,32)); 51 assertEquals(tuning.getPatch().getProgram(), 32); 52 assertEquals(tuning.getPatch().getBank(), 8);
|
H A D | Load4.java | 54 SoftTuning tuning = new SoftTuning(); 82 tuning.load(bmsg); 83 assertEquals(tuning.getName(), "Testing123 "); 84 double[] tunings = tuning.getTuning(); 88 // Check if tuning fails if checksum is wrong 92 tuning = new SoftTuning(); 93 tuning.load(bmsg); 94 assertTrue(!tuning.getName().equals("Testing123 ")); 96 // Check if tuning fails if checksum is wrong 100 tuning [all...] |
H A D | Load8.java | 50 // http://www.midi.org/about-midi/tuning-scale.shtml 51 // 0x08 scale/octave tuning 1-byte form (Non Real-Time/REAL-TIME) 52 SoftTuning tuning = new SoftTuning(); 60 tuning.load(bmsg); 61 double[] tunings = tuning.getTuning();
|
H A D | Load5.java | 54 SoftTuning tuning = new SoftTuning(); 74 tuning.load(bmsg); 75 double[] tunings = tuning.getTuning(); 79 // Check if tuning fails if checksum is wrong 83 tuning = new SoftTuning(); 84 tuning.load(bmsg); 85 assertTrue(!tuning.getName().equals("Testing123 "));
|
H A D | Load6.java | 54 SoftTuning tuning = new SoftTuning(); 75 tuning.load(bmsg); 76 double[] tunings = tuning.getTuning(); 83 // Check if tuning fails if checksum is wrong 87 tuning = new SoftTuning(); 88 tuning.load(bmsg); 89 assertTrue(!tuning.getName().equals("Testing123 "));
|
H A D | GetTuning.java | 50 SoftTuning tuning = new SoftTuning(); 51 double[] tunings = tuning.getTuning();
|
H A D | GetTuningInt.java | 50 SoftTuning tuning = new SoftTuning(); 51 assertTrue(Math.abs(tuning.getTuning(36)-3600) < 0.00001);
|
H A D | NewSoftTuning.java | 50 SoftTuning tuning = new SoftTuning(); 51 double[] tunings = tuning.getTuning();
|
H A D | NewSoftTuningPatchByteArray.java | 50 // RealTime: Scale/Octave tuning in 1-byte format 58 SoftTuning tuning = new SoftTuning(new Patch(8,32),bmsg); 59 double[] tunings = tuning.getTuning(); 62 assertEquals(tuning.getPatch().getProgram(), 32); 63 assertEquals(tuning.getPatch().getBank(), 8);
|
H A D | NewSoftTuningByteArray.java | 50 // RealTime: Scale/Octave tuning in 1-byte format 58 SoftTuning tuning = new SoftTuning(bmsg); 59 double[] tunings = tuning.getTuning();
|
H A D | Load1.java | 52 // http://www.midi.org/about-midi/tuning.shtml 54 SoftTuning tuning = new SoftTuning(); 85 tuning.load(bmsg); 86 assertEquals(tuning.getName(), "Testing123 "); 87 double[] tunings = tuning.getTuning(); 91 // Check if tuning fails if checksum is wrong 96 tuning = new SoftTuning(); 97 tuning.load(bmsg); 98 assertTrue(!tuning.getName().equals("Testing123 "));
|
H A D | Load2.java | 50 // http://www.midi.org/about-midi/tuning.shtml 52 SoftTuning tuning = new SoftTuning(); 60 tuning.load(bmsg); 61 double[] tunings = tuning.getTuning();
|
H A D | Load7.java | 52 SoftTuning tuning = new SoftTuning(); 60 tuning.load(bmsg); 61 double[] tunings = tuning.getTuning();
|
H A D | Load9.java | 50 // http://www.midi.org/about-midi/tuning-scale.shtml 51 // 0x09 scale/octave tuning 2-byte form (Non Real-Time/REAL-TIME) 52 SoftTuning tuning = new SoftTuning(); 61 tuning.load(bmsg); 62 double[] tunings = tuning.getTuning();
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | SoftTuning.java | 33 * A tuning program container, for use with MIDI Tuning. 41 private final double[] tuning = new double[128]; field in class:SoftTuning 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[ [all...] |
H A D | SoftMainMixer.java | 138 // http://www.midi.org/about-midi/tuning.shtml 139 SoftTuning tuning = synth.getTuning(new Patch(0, 141 tuning.load(data); 151 SoftTuning tuning = synth.getTuning(new Patch( 153 tuning.load(data); 156 case 0x08: // scale/octave tuning 1-byte form (Non 158 case 0x09: // scale/octave tuning 2-byte form (Non 161 // http://www.midi.org/about-midi/tuning-scale.shtml 162 SoftTuning tuning = new SoftTuning(data); 168 channels[i].tuning [all...] |
H A D | SoftChannel.java | 114 SoftTuning tuning = new SoftTuning(); field in class:SoftChannel 362 voice.tuning = tuning; 382 = (tuning.getTuning(controller[84]) / 100.0) 390 = (tuning.getTuning(portamento_lastnote[0]) / 100.0) 400 = (tuning.getTuning( 506 int tunedKey = (int)(Math.round(tuning.getTuning(noteNumber)/100.0)); 610 int tunedKey = (int)(Math.round(tuning.getTuning(noteNumber)/100.0)); 1258 tuning = synthesizer.getTuning(new Patch(bank, program)); 1446 // don't reset tuning setting [all...] |
H A D | SoftVoice.java | 49 SoftTuning tuning = null; field in class:SoftVoice 202 return 120; // Fine tuning 204 return 121; // Coarse tuning 282 tuning = newtuning; 283 tunedKey = tuning.getTuning(note) / 100.0; 298 tunedKey = tuning.getTuning(noteNumber) / 100.0;
|
H A D | SoftSynthesizer.java | 479 SoftTuning tuning = tunings.get(t_id); 480 if (tuning == null) { 481 tuning = new SoftTuning(patch); 482 tunings.put(t_id, tuning); 484 return tuning;
|
Completed in 53 milliseconds