Package org.jjazz.midi.api.synths
Class VoidInstrument
java.lang.Object
org.jjazz.midi.api.Instrument
org.jjazz.midi.api.synths.GM1Instrument
org.jjazz.midi.api.synths.VoidInstrument
- All Implemented Interfaces:
 Serializable
A special "void" instrument: no bank change or program change is associated to this instrument.
 
When used, the system should not send any Midi bank select or program change messages for this instrument.
- See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptiongetBank()A user-friendly string describing the instrument with its synth (or bank if its a standard bank).getMidiMessages(int channel) Overridden : return an empty array.voidsetBank(InstrumentBank<?> bank) Overridden to make sure specified bank is the GM1Bank.Methods inherited from class org.jjazz.midi.api.synths.GM1Instrument
getFamily, getSubstituteMethods inherited from class org.jjazz.midi.api.Instrument
getCopy, getDrumKit, getMidiAddress, getPatchName, isDrumKit, loadFromString, saveAsString, setSubstitute, toLongString, toString 
- 
Method Details
- 
setBank
Description copied from class:GM1InstrumentOverridden to make sure specified bank is the GM1Bank.- Overrides:
 setBankin classGM1Instrument- Parameters:
 bank- A non null value, the InstrumentBank this Instrument belongs to, e.g. GM1Bank.
 - 
getBank
- Overrides:
 getBankin classInstrument- Returns:
 - Can be null.
 
 - 
getFullName
Description copied from class:InstrumentA user-friendly string describing the instrument with its synth (or bank if its a standard bank).Examples: "GM: Acoustic Piano", "MOXF: JP Strings"
- Overrides:
 getFullNamein classInstrument- Returns:
 
 - 
getMidiMessages
Overridden : return an empty array.- Overrides:
 getMidiMessagesin classInstrument- Returns:
 
 
 -