Class GM1Instrument

java.lang.Object
org.jjazz.midi.api.Instrument
org.jjazz.midi.api.synths.GM1Instrument
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
VoidInstrument

public class GM1Instrument extends Instrument implements Serializable
An Instrument from the GM1 bank.
See Also:
  • Method Details

    • setBank

      public void setBank(InstrumentBank<?> bank)
      Overridden to make sure specified bank is the GM1Bank.
      Overrides:
      setBank in class Instrument
      Parameters:
      bank -
    • getSubstitute

      public GM1Instrument getSubstitute()
      Description copied from class: Instrument
      An optional GM1Instrument that can be used as a GM1 replacement instrument.
      Overrides:
      getSubstitute in class Instrument
      Returns:
      Can be null if not defined, or for drums instruments.
    • getFamily

      public Family getFamily()
      The Family value for this instrument.
      Returns:
      A non-null value.