X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;ds=sidebyside;f=MooKeyboard.java;h=67664dfb1298db17435907fb07b81f4aec17dd1b;hb=d7666fadd2f8baca8a03cacae836f2563fe4dd5d;hp=0ebfa63f063dd6f0cec8aeda527594d63156e0bd;hpb=0c65653da8aecee944e4814ab2efda6a2ad57a94;p=moosique.git diff --git a/MooKeyboard.java b/MooKeyboard.java index 0ebfa63..67664df 100644 --- a/MooKeyboard.java +++ b/MooKeyboard.java @@ -1,7 +1,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. * * @author Einar Pehrson @@ -13,7 +13,7 @@ public class MooKeyboard extends KeyAdapter { private static final int startNote = 48; private static final int[] keyToNote = new int[120]; - /* + /** * Plays the appropriate MIDI NoteOn event. */ public void keyPressed(KeyEvent e) { @@ -28,7 +28,7 @@ public class MooKeyboard extends KeyAdapter { } } - /* + /** * Plays the appropriate MIDI NoteOff event. */ public void keyReleased(KeyEvent e) { @@ -43,7 +43,7 @@ public class MooKeyboard extends KeyAdapter { } } - /* Maps keycodes (array indices) to MIDI note numbers using the following layout: + /** Maps keycodes (array indices) to MIDI note numbers using the following layout: * * 2 3 5 6 7 9 0 => # # # # # # # * q w e r t y u i o p => c d e f g a b c d e