Searched refs:ModelPatch (Results 1 - 13 of 13) sorted by relevance
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | ModelPatch.java | 36 public final class ModelPatch extends Patch { class in inherits:Patch 40 public ModelPatch(int bank, int program) { method in class:ModelPatch 44 public ModelPatch(int bank, int program, boolean percussion) { method in class:ModelPatch
|
H A D | ModelInstrumentComparator.java | 44 if (p0 instanceof ModelPatch) { 45 a += ((ModelPatch)p0).isPercussion() ? 2097152 : 0; 47 if (p1 instanceof ModelPatch) { 48 b += ((ModelPatch)p1).isPercussion() ? 2097152 : 0;
|
H A D | ModelInstrument.java | 79 if (getPatch() instanceof ModelPatch) 80 percussion = ((ModelPatch)getPatch()).isPercussion(); 109 if (getPatch() instanceof ModelPatch) 110 percussion = ((ModelPatch)getPatch()).isPercussion();
|
H A D | ModelAbstractOscillator.java | 176 if (p instanceof ModelPatch && patch instanceof ModelPatch) { 177 if (((ModelPatch)p).isPercussion() 178 != ((ModelPatch)patch).isPercussion()) {
|
H A D | SimpleSoundbank.java | 97 if (patch instanceof ModelPatch) 98 percussion = ((ModelPatch)patch).isPercussion(); 105 if (patch2 instanceof ModelPatch) 106 percussion2 = ((ModelPatch)patch2).isPercussion();
|
H A D | SimpleInstrument.java | 181 public ModelPatch getPatch() { 182 return new ModelPatch(bank, preset, percussion); 186 if (patch instanceof ModelPatch && ((ModelPatch)patch).isPercussion()) {
|
H A D | DLSInstrument.java | 73 public ModelPatch getPatch() { 74 return new ModelPatch(bank, preset, druminstrument); 78 if (patch instanceof ModelPatch && ((ModelPatch)patch).isPercussion()) {
|
H A D | SF2Instrument.java | 69 return new ModelPatch(0, preset, true); 71 return new ModelPatch(bank << 7, preset, false); 75 if (patch instanceof ModelPatch && ((ModelPatch) patch).isPercussion()) {
|
H A D | SF2Soundbank.java | 875 if (patch instanceof ModelPatch) 876 percussion = ((ModelPatch)patch).isPercussion(); 883 if (patch2 instanceof ModelPatch) 884 percussion2 = ((ModelPatch) patch2).isPercussion();
|
H A D | DLSSoundbank.java | 1233 if (patch instanceof ModelPatch) 1234 percussion = ((ModelPatch) patch).isPercussion(); 1241 if (patch2 instanceof ModelPatch) 1242 percussion2 = ((ModelPatch) patch2).isPercussion();
|
H A D | SoftSynthesizer.java | 358 if (patch instanceof ModelPatch && ((ModelPatch) patch).isPercussion())
|
H A D | EmergencySoundbank.java | 243 drum_instrument.setPatch(new ModelPatch(0, 0, true)); 471 if (patch instanceof ModelPatch) { 472 if (((ModelPatch) patch).isPercussion())
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/EmergencySoundbank/ |
H A D | TestCreateSoundbank.java | 37 import com.sun.media.sound.ModelPatch; 45 Patch patch = new ModelPatch(0, i, false); 52 Patch patch = new ModelPatch(0, 0, true);
|
Completed in 70 milliseconds