Class SInt

java.lang.Object
org.jjazz.yamjjazz.rhythm.api.SInt

public class SInt extends Object
Store the SInt section information: the instruments and settings associated to AccTypes.

Associate datad are original MidiAddress, inferred InstrumentMix using YamahaRefSynth, isUsingMegaVoice.

Note that there is NO guarantee that SInt contains data for ALL AccTypes defined in the CASM.

  • Constructor Details

    • SInt

      public SInt()
  • Method Details

    • set

      public void set(SInt sInt)
    • set

      public void set(AccType at, InstrumentMix insMix)
      Associate an InstrumentMix to an AccType.

      By default the specified AccType does not expect a MegaVoice.

      Parameters:
      at -
      insMix -
    • get

      public InstrumentMix get(AccType at)
    • setOriginalMidiAddress

      public void setOriginalMidiAddress(AccType at, MidiAddress adr)
      Associate the original instrument MidiAddress to an AccType.

      Parameters:
      at -
      adr -
    • getOriginalMidiAddress

      public MidiAddress getOriginalMidiAddress(AccType at)
    • setExpectingMegaVoice

      public boolean setExpectingMegaVoice(AccType at, boolean b)
      Indicate if the Yamaha style file expects a Yamaha MegaVoice instrument for this AccType.
      Parameters:
      at -
      b -
      Returns:
    • isExpectingMegaVoice

      public boolean isExpectingMegaVoice(AccType at)
      Return true if the Yamaha style file expects a Yamaha MegaVoice instrument for this AccType.
      Parameters:
      at -
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object