- protected MidiEvent noteOffEvent;
- protected ShortMessage noteOnMsg, noteOffMsg;
-
- /**
- * Creates a MooNote from the given NoteOn event in the current track.
- * @param noteOnEvent the NoteOn event of the note
- */
- public MooNote (MidiEvent noteOnEvent) {
- super(noteOnEvent.getMessage(), noteOnEvent.getTick());
- noteOnMsg = (ShortMessage)getMessage();
- }
+ private MidiEvent noteOffEvent;
+ private ShortMessage noteOnMsg, noteOffMsg;