Package net.mtrop.doom.sound
Class MUS.NoteReleaseEvent
java.lang.Object
net.mtrop.doom.sound.MUS.Event
net.mtrop.doom.sound.MUS.NoteReleaseEvent
- Enclosing class:
- MUS
Note release event.
-
Field Summary
Fields inherited from class net.mtrop.doom.sound.MUS.Event
channel, restTics, type, TYPE_CHANGE_CONTROLLER, TYPE_PITCH, TYPE_PLAY, TYPE_RELEASE, TYPE_SCORE_END, TYPE_SYSTEM
-
Method Summary
Methods inherited from class net.mtrop.doom.sound.MUS.Event
getChannel, getRestTics, getType, isLast, setChannel, setRestTics
-
Field Details
-
note
protected int noteThe event's note.
-
-
Method Details
-
toBytes
public byte[] toBytes() -
toString
-
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
- ifnote
is not between 0 and 127.
-