]> ruin.nu Git - moosique.git/blobdiff - MooKeyboard.java
Updated the project report,
[moosique.git] / MooKeyboard.java
index ce110b254c46b1dd0f214654b63ad9fe401887d9..11f45fce02f35f580548b8cd337cf5ec606de678 100644 (file)
@@ -2,7 +2,7 @@ import javax.sound.midi.*;
 import java.awt.event.*;
 
 /**
- * Functional representation of a MIDI note, which contains two MIDI events, note on and note off.
+ * A keyboard listener emulating a synthesizer.
  * 
  * @author  Einar Pehrson
  */
@@ -47,7 +47,7 @@ public class MooKeyboard extends KeyAdapter {
         * Sets the octave of the lower part of the keyboard (default = 4)
         * @param n     the octave to start at
         */
-       public void setOctave(int n) {
+       public static void setOctave(int n) {
                startNote = n * 12;
        }