import javax.sound.midi.*;
/*
- * Functional representation of a MIDI note, which contains two MIDI events, note on and note off.
+ * Functional representation of a MIDI note, which adds functionality to the existent MidiEvent class.
+ * Also provides a reference to the corresponding NoteOff event.
*
- * @author Andersson, Andreen, Lanneskog, Pehrson
- * @version 2.0
+ * @author Einar Pehrson
*/
public class MooNote extends MidiEvent {
- private MidiEvent noteOffEvent;
- private ShortMessage noteOnMsg, noteOffMsg;
+ protected MidiEvent noteOffEvent;
+ protected ShortMessage noteOnMsg, noteOffMsg;
/*
* Creates a MooNote from the given NoteOn event in the current track.