Class MUS.NoteReleaseEvent

java.lang.Object
net.mtrop.doom.sound.MUS.Event
net.mtrop.doom.sound.MUS.NoteReleaseEvent
Enclosing class:
MUS

public static class MUS.NoteReleaseEvent extends MUS.Event
Note release event.
  • Field Details

    • note

      protected int note
      The event's note.
  • Method Details

    • toBytes

      public byte[] toBytes()
      Specified by:
      toBytes in class MUS.Event
      Returns:
      this event to a serialized byte form.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getNote

      public int getNote()
      Returns:
      this event's note.
    • setNote

      public void setNote(int note)
      Sets this event's note.
      Parameters:
      note - the new note.
      Throws:
      IllegalArgumentException - if note is not between 0 and 127.