X-Git-Url: https://ruin.nu/git/?p=moosique.git;a=blobdiff_plain;f=MooNote.java;fp=MooNote.java;h=20047887f107cd03093927f86c2fb8851b37fe27;hp=12e12386cd94e74f597d04a92cf56de65e6dc48e;hb=4ac3b6210979ea78dceb609a0501cb0265d00065;hpb=b707e72e9ba0631a60460dd368019029954a7ec7 diff --git a/MooNote.java b/MooNote.java index 12e1238..2004788 100644 --- a/MooNote.java +++ b/MooNote.java @@ -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.