Interface MUS.SequencerListener

Enclosing class:
MUS

public static interface MUS.SequencerListener
A listener for the player.
  • Field Details

  • Method Details

    • onNoteReleaseEvent

      void onNoteReleaseEvent(int channel, int note)
      Called on note release.
      Parameters:
      channel - the channel it happened on.
      note - the note to play.
    • onNotePlayEvent

      void onNotePlayEvent(int channel, int note)
      Called on note play.
      Parameters:
      channel - the channel it happened on.
      note - the note to play.
    • onNotePlayEvent

      void onNotePlayEvent(int channel, int note, int volume)
      Called on note play (with volume change).
      Parameters:
      channel - the channel it happened on.
      note - the note to play.
      volume - the new volume level.
    • onPitchEvent

      void onPitchEvent(int channel, int pitch)
      Called on a pitch wheel change.
      Parameters:
      channel - the channel it happened on.
      pitch - The pitch, from 0 to 255. 128 is no adjustment. 0 is one full semitone down. 255 is one full semitone up.
    • onSystemEvent

      void onSystemEvent(int channel, int type)
      Called on a system event.
      Parameters:
      channel - the channel it happened on.
      type - the type if system event (see SYSTEM constants).
    • onControllerChangeEvent

      void onControllerChangeEvent(int channel, int controllerNumber, int controllerValue)
      Called on a controller change event.
      Parameters:
      channel - the channel it happened on.
      controllerNumber - the controller changed (see CONTROLLER constants).
      controllerValue - the new controller value.
    • onScoreEnd

      void onScoreEnd(int channel)
      Called on score end.
      Parameters:
      channel - the channel it happened on.