X-Git-Url: https://ruin.nu/git/?p=moosique.git;a=blobdiff_plain;f=MooKeyboard.java;h=11f45fce02f35f580548b8cd337cf5ec606de678;hp=90ed18fd4acf3d582b7569f08f16c23b25fc4ebc;hb=83ec11f99e143607d057db2a68c262ca9672e524;hpb=cf968519ee77ab329c3e739c6340a9d688a31508 diff --git a/MooKeyboard.java b/MooKeyboard.java index 90ed18f..11f45fc 100644 --- a/MooKeyboard.java +++ b/MooKeyboard.java @@ -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; }