]> ruin.nu Git - moosique.git/blobdiff - MooNote.java
Added MooInstrumentList - a subcomponent to MooToolbar -
[moosique.git] / MooNote.java
index 12e12386cd94e74f597d04a92cf56de65e6dc48e..20047887f107cd03093927f86c2fb8851b37fe27 100644 (file)
@@ -1,16 +1,16 @@
 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.