* Inställningar
- MIDI-enhet Öppna en dialogruta med innehållet i getMidiDeviceInfo() och låt användaren välja.
-* Keyjazz
- MidiChannel: noteOn, programChange etc.
-
* Referenser eller objekt?!?
tracks.get(tracks.indexOf(noteOffEvent) ???
...add(MooNote.getNoteOffEvent());
* Kanalinställning
- Hur sparas i spår?
\ No newline at end of file
+ Hur sparas i spår?
+
+* Global KeyListener
+ Görs uppenbarligen så här:
+
+ JFrame someFrame = new JFrame();
+
+ JComponent rootPane = someFrame.getRootPane();
+ ActionMap am = rootPane.getActionMap();
+
+ Action helpAction = new AbstractAction() {
+ public void actionPerformed(ActionEvent ae) {
+ showHelpWindow();
+ }};
+ am.put("help", helpAction);
+
+ InputMap im = rootPane.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
+ KeyStroke helpKey = KeyStroke.getKeyStroke(KeyEvent.VK_F1, 0);
+ im.put(helpKey, "help");
+
+* Oktavförändring i MooKeyboard
+ Mappa F9-F12 till MooKeyboard.setOctave(n) där n = {2, 4, 6, 8}
\ No newline at end of file