Package org.jjazz.midi.api.synths
Class GMSynth
java.lang.Object
org.jjazz.midi.api.MidiSynth
org.jjazz.midi.api.synths.GMSynth
A synth which only contains the GM bank.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jjazz.midi.api.MidiSynth
MidiSynth.Finder
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal GM1Bank
static GM1Instrument
getGM1Instrument
(int progChange) Convenience method to directly get the GM1Instrument with specified Program Change.static GM1Instrument
Convenience method to get the GM1Instrument from this synth corresponding to an instrument from a synth's GM bank.static GMSynth
final VoidInstrument
A special "empty" GM1Instrument: when used, no Midi messages are sent (no bank select/program change).Methods inherited from class org.jjazz.midi.api.MidiSynth
addBank, contains, dump, equals, findInstruments, getBank, getBanks, getDrumsInstruments, getDrumsInstruments, getFile, getGM1BankBaseMidiAddress, getGM1BankMidiAddress, getInstrument, getInstrument, getInstruments, getInstruments, getInstrumentsFromSubstitute, getManufacturer, getMidiAddressMatchingCoverage, getName, getNbInstruments, getNonDrumsInstruments, hashCode, isGM1BankMidiAddress, isGM2compatible, isGMcompatible, isGScompatible, isXGcompatible, loadFromFile, loadFromString, saveAsString, setCompatibility, setGM1BankBaseMidiAddress, toString
-
Field Details
-
NAME
-
MANUFACTURER
-
-
Method Details
-
getInstance
-
getGM1Bank
-
getVoidInstrument
A special "empty" GM1Instrument: when used, no Midi messages are sent (no bank select/program change).This special instrument is part of the special InstrumentBank NotSetBank.
- Returns:
-
getGM1Instrument
Convenience method to directly get the GM1Instrument with specified Program Change.- Parameters:
progChange
-- Returns:
-
getGM1Instrument
Convenience method to get the GM1Instrument from this synth corresponding to an instrument from a synth's GM bank.- Parameters:
ins
- Should be an ins from the GM-bank of its synth- Returns:
- Null if ins is not an instrument of its synth's GM bank
-