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
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) {
}
}
- /*
+ /**
* Plays the appropriate MIDI NoteOff event.
*/
public void keyReleased(KeyEvent e) {
}
}
- /* 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