Package org.jjazz.midi.api.synths
Class GM1Instrument
java.lang.Object
org.jjazz.midi.api.Instrument
org.jjazz.midi.api.synths.GM1Instrument
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
VoidInstrument
An Instrument from the GM1 bank.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThe Family value for this instrument.An optional GM1Instrument that can be used as a GM1 replacement instrument.void
setBank
(InstrumentBank<?> bank) Overridden to make sure specified bank is the GM1Bank.Methods inherited from class org.jjazz.midi.api.Instrument
getBank, getCopy, getDrumKit, getFullName, getMidiAddress, getMidiMessages, getPatchName, isDrumKit, loadFromString, saveAsString, setSubstitute, toLongString, toString
-
Method Details
-
setBank
Overridden to make sure specified bank is the GM1Bank.- Overrides:
setBank
in classInstrument
- Parameters:
bank
-
-
getSubstitute
Description copied from class:Instrument
An optional GM1Instrument that can be used as a GM1 replacement instrument.- Overrides:
getSubstitute
in classInstrument
- Returns:
- Can be null if not defined, or for drums instruments.
-
getFamily
The Family value for this instrument.- Returns:
- A non-null value.
-