Searched refs:Instrument (Results 1 - 14 of 14) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/sound/midi/
H A DSynthesizer.java70 * @see Instrument
166 * the <code>getSoundbank</code> method of <code>Instrument</code> and the
183 public boolean loadInstrument(Instrument instrument);
198 public void unloadInstrument(Instrument instrument);
202 * Remaps an instrument. Instrument <code>to</code> takes the
212 * @param from the <code>Instrument</code> object to be replaced
213 * @param to the <code>Instrument</code> object to be used in place
226 public boolean remapInstrument(Instrument from, Instrument to);
260 public Instrument[] getAvailableInstrument
[all...]
H A DInstrument.java46 * @see Synthesizer#loadInstrument(Instrument)
51 public abstract class Instrument extends SoundbankResource { class in inherits:SoundbankResource
55 * Instrument patch
71 * @see Synthesizer#loadInstrument(Instrument)
73 protected Instrument(Soundbank soundbank, Patch patch, String name, Class<?> dataClass) { method in class:Instrument
H A DSoundbank.java65 * @see Instrument
102 * Extracts a list of non-Instrument resources contained in the sound bank.
118 public Instrument[] getInstruments();
121 * Obtains an <code>Instrument</code> from the given <code>Patch</code>.
130 public Instrument getInstrument(Patch patch);
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DModelInstrumentComparator.java28 import javax.sound.midi.Instrument;
32 * Instrument comparator class.
37 public final class ModelInstrumentComparator implements Comparator<Instrument> {
39 public int compare(Instrument arg0, Instrument arg1) {
H A DSimpleSoundbank.java31 import javax.sound.midi.Instrument;
48 List<Instrument> instruments = new ArrayList<Instrument>();
86 public Instrument[] getInstruments() {
87 Instrument[] inslist_array
88 = instruments.toArray(new Instrument[resources.size()]);
93 public Instrument getInstrument(Patch patch) {
99 for (Instrument instrument : instruments) {
115 if (resource instanceof Instrument)
116 instruments.add((Instrument) resourc
[all...]
H A DModelAbstractOscillator.java28 import javax.sound.midi.Instrument;
149 // Create Instrument object around my performer
169 public Instrument getInstrument(Patch patch) {
170 Instrument ins = getInstrument();
185 public Instrument[] getInstruments() {
186 return new Instrument[]{getInstrument()};
H A DSoftInstrument.java27 import javax.sound.midi.Instrument;
35 public final class SoftInstrument extends Instrument {
H A DModelInstrument.java27 import javax.sound.midi.Instrument;
50 public abstract class ModelInstrument extends Instrument {
H A DSoftSynthesizer.java48 import javax.sound.midi.Instrument;
290 for (Instrument instrument : instruments) {
410 // Instrument not found fallback to MSB:bank, LSB:0
415 // Instrument not found fallback to MSB:0, LSB:bank
420 // Instrument not found fallback to MSB:0, LSB:0
424 // Instrument not found fallback to MSB:0, LSB:0, program=0
442 // Instrument not found fallback to MSB:0, LSB:0
446 // Instrument not found fallback to MSB:0, LSB:0, program=0
562 for (Instrument ins: soundbank.getInstruments())
568 public boolean loadInstrument(Instrument instrumen
[all...]
H A DSF2Soundbank.java39 import javax.sound.midi.Instrument;
245 // Preset Header / Instrument
334 // Instrument Header / Layers
347 // Instrument Zones / Layer splits
396 // Instrument Modulators / Split Modulators
409 // Instrument Generators / Split Generators
871 public Instrument getInstrument(Patch patch) {
877 for (Instrument instrument : instruments) {
H A DDLSSoundbank.java40 import javax.sound.midi.Instrument;
526 int drumins = chunk.read(); // Drum Instrument
1229 public Instrument getInstrument(Patch patch) {
1235 for (Instrument instrument : instruments) {
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftSynthesizer/
H A DIsSoundbankSupported.java29 import javax.sound.midi.Instrument;
78 public Instrument[] getInstruments() {
79 Instrument ins = new Instrument(null, null, null, null)
85 return new Instrument[] {ins};
87 public Instrument getInstrument(Patch patch) {
H A DRemapInstrument.java29 import javax.sound.midi.Instrument;
59 Instrument ins3 = defsbk.getInstrument(new Patch(0,3));
60 Instrument ins10 = defsbk.getInstrument(new Patch(0,10));
62 Instrument[] loaded = synth.getLoadedInstruments();
/openjdk7/jdk/test/javax/sound/midi/Gervill/EmergencySoundbank/
H A DTestCreateSoundbank.java31 import javax.sound.midi.Instrument;
48 throw new Exception("Instrument " + i + " is missing!");
50 throw new Exception("Instrument " + i + " doesn't have any performers!");

Completed in 34 milliseconds