-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathREADME.linux
More file actions
72 lines (48 loc) · 2.23 KB
/
README.linux
File metadata and controls
72 lines (48 loc) · 2.23 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Compiling and Running KeyKit for Linux (using ALSA)
To compile, make sure you have these packages installed:
sudo apt install libghc-alsa-core-dev
sudo apt install libghc-x11-dev
sudo apt install make
sudo apt install zip
then:
make install_linux
The bin directory should then contain:
key # The GUI version of keykit
lowkey # The text-only version of keykit,
# suitable for use in CGI scripts.
To execute, either:
cd bin
./key
or add the key/bin directory to your PATH and execute it from anywhere:
PATH=$PATH:`pwd`/bin
key
KeyKit is a client of the ALSA "sequencer" (it's really a
MIDI routing system) which allows KeyKit to have as many
input and output connections as you may desire.
You control the connections between KeyKit and hardware ports
and/or soft synths or other applications using other utility
applications such as aconnect or qjackctl.
By default, KeyKit will create one input port and one output port,
but you can alter that by defining one or both of
KEY_NMIDI_INPUTS
KEY_NMIDI_OUTPUTS
in your environment. Their value should be sanely-sized integer. You should
read doc/multiport to understand how to use these multiple input and
output ports.
Note that KeyKit will *not* connect itself automatically to
any other destinations, so you will not be able to do anything
until you have used aconnect/qjackctl/etc. to make connections.
Also note that the ports will not appear in qjackctl until you've
actually opened them, either with "Tools1->Port Enabler" in the KeyKit GUI,
or by putting calling outport() or inport() to open a port by default.
You can also set the environment variable MUSICPATH to point to the
directory(s) where you keep your .mid files. For example:
export MUSICPATH=.:/home/falco/mymusic1:/home/falco/mymusic2
would cause the current directory to be searched first, followed by
/home/falco/mymusic1, followed by /home/falco/mymusic.
Documentation is in the doc directory.
----------------------------------------------------------------------------
Steve Falco (sfalco@lucent.com) produced the first Linux port
in January 1997. Tim Thompson (me@timthompson.com) produced the
ALSA port in April, 2000. Paul Davis (paul@linuxaudiosystems.com)
provided the sequencer version of the ALSA port.