* Functional representation of a MIDI note, which adds functionality to the existent MidiEvent class.
* Also provides a reference to the corresponding NoteOff event.
*
* Functional representation of a MIDI note, which adds functionality to the existent MidiEvent class.
* Also provides a reference to the corresponding NoteOff event.
*
protected MidiEvent noteOffEvent;
protected ShortMessage noteOnMsg, noteOffMsg;
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
*/
* Creates a MooNote from the given NoteOn event in the current track.
* @param noteOnEvent the NoteOn event of the note
*/
* Creates a MooNote from the given NoteOn event in the current track and creates a reference to
* the corresponding NoteOff event.
* @param noteOnEvent the NoteOn event of the note
* Creates a MooNote from the given NoteOn event in the current track and creates a reference to
* the corresponding NoteOff event.
* @param noteOnEvent the NoteOn event of the note
* Creates a MooNote of the given pitch, velocity and duration in the current track.
* @param track the track to which the MooNote was added
* @param channel the channel of the note (1-16)
* Creates a MooNote of the given pitch, velocity and duration in the current track.
* @param track the track to which the MooNote was added
* @param channel the channel of the note (1-16)
* Sets the duration of the current note (or rather moves the note off event).
* @param n the duration of the note in ticks (96 per beat)
*/
* Sets the duration of the current note (or rather moves the note off event).
* @param n the duration of the note in ticks (96 per beat)
*/
* Sets the timestamp of the current note.
* @param tick the timestamp of the note in ticks (96 per beat)
*/
* Sets the timestamp of the current note.
* @param tick the timestamp of the note in ticks (96 per beat)
*/