-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
31 lines (22 loc) · 1017 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
TTY MIDI Keyboard
Author: Calvin Kosmatka <calvin.kosmatka@gmail.com>
This program turns a TTY into an ALSA MIDI keyboard.
Usage:
tmk [dest_client:dest_port]
tmk (-h | --help)
The optional dest_client:dest_port argument specifies and ALSA client to connect to. If not specified, aconnect can be used later to connect MIDI output.
White keys are laid out from <a> to <'>. Black keys are on the row above.
The <a> key maps to [C] (MIDI note 60 in the defualt octave)
<w> maps to [C#/Db]
...
<f> maps to [F]
<t> maps to [F#/Gb]
...
<k> maps to [C + 1 octave]
<o> maps to [C#/Db + 1 octave]
...
<'> maps to [F + 1 octave]
The <z> and <x> keys shift the keyboard an octave down and up
Press <q> to quit. <CTRL-C> will not work as expected since tmk uses K_RAW mode for keyboard input.
Press <TAB> to pause output switch back to K_XLATE mode. <CTRL-C>, <CTRL-Z>, and other commands will work as expected while output is paused.
This program does not work in pseudo-terminals.