-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvkeybd.man
202 lines (183 loc) · 5.34 KB
/
vkeybd.man
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
.TH vkeybd 1 "January 1, 2000"
.SH NAME
vkeybd \- virtual keyboard on X
.SH SYNOPSIS
.B vkeybd
[\-options]
.SH DESCRIPTION
.B vkeybd
is a virtual keyboard for AWE/OSS, MIDI/OSS and ALSA drivers.
It's a simple fake of a MIDI keyboard on X-windows system.
Enjoy a music with your mouse and
.I computer
keyboard :-)
.SH OPTIONS
.SS "Common Options"
.TP
.B \--device mode
Use the specified mode for output device.
The argument are
.B awe,
.B midi
or
.B alsa,
for AWE/OSS, MIDI/OSS and ALSA devices, respectively.
Default is
.B alsa.
.TP
.B \--config file
Use the specified file as config file (see section "KEYBOARD").
.TP
.B \--preset file
Use the specified file as preset list file (see section "PRESET LIST FILE").
.TP
.B \--channel num
Specify the channel to be played for normal instruments.
Valid only for MIDI and ALSA devices. Default is 0.
.TP
.B \--drum num
Specify the channel to be played for drum instruments.
Valid only for MIDI and ALSA devices. Default is 9.
.TP
.B \--octave num
Specify the number of octaves to display keys.
Default is 3.
.SS "ALSA Device Option"
.TP
.B \--addr destination
Set ALSA client and port numbers to be connected.
If argument begins with 's' or 'S', the port is opened as subscription
port, and events are sent to all connected subscribers. The port can be
connected to other ports via
.B aconnect(1).
Otherwise,
.B vkeybd
connects directly to the specified port. The argument must be
a form like client:port or client.port, where client and port are index
numbers listed in
.B /proc/asound/seq/clients.
Default is 's'.
.TP
.B \--name string
Specify the name of client/port. Some applications like tk707
check the client/port name whether it is a valid MIDI device port.
This options makes vkeybd possible to "fake" as a real MIDI device.
.TP
.B \--bankmsb 0|1
Specify whether the bank selection control is sent only to MSB or both
MSB/LSB. Default is 0, sent to both MSB/LSB.
This option is provided only for compatibility with older versions.
.SS "OSS Sequencer Device Options"
.TP
.B \--seqdev file
Specify the device file path for sequencer access.
As default
.B /dev/sequencer
is used.
.TP
.B \--seqidx num
Specify the synth device index for AWE32/64 WaveTable.
If negative value is given, the device is auto-probed.
Default value is \-1.
.SS "MIDI Device Option"
.TP
.B \--mididev num
Speicfy the file path of MIDI device.
Default value is /dev/midi.
.SH "FILE MENU"
.I Connection
shows whether the
.B vkeybd
connects to the device.
On OSS system, only one application is allowed to access sequencer
device. Thus, if one wants to play another program even using another
device, he needs to disconnect
.B vkeybd
once. On ALSA or OSS emulation
on ALSA, you don't have to switch
.B vkeybd
off, since multiple access is allowed.
With
.I "Save Config",
the current keymap and view configuration are
saved on
.B ~/.vkeybdrc
config file. This file will be read at the next
invoke.
.SH "VIEW MENU"
Thie menu shows the check buttons to toggle the display of control
buttons.
With
.I Key/Velocity
button, a key and a velocity scale bars are
shown. The key scale indicates the lowest note value of the visible
keyboard (as default 48 = C4). The velocity scale bar is used to
change the velocity of each note-on.
With
.I Control
button, controls for the current channel and for the
MIDI continous-controls are enabled. The channel number is increased
or decreased by clicking the right or left button around the shown
channel number. The bank and preset are remembered for each channel.
You may choose the CC to be adjusted by pull-down menu, which
indicates
.I ModWheel
as default. Then change the parameter value with
the scale bar at the right side.
With
.I Pitch
button, you may adjust pitch wheel. The pitch goes
back to the center position when you click the
.I "Pitch Clear"
button at the left.
With
.I Program
button, the selection list of playing instrument is
toggled. The shown presets are read from preset list file.
.SH "KEYBOARD"
Each visible key is mapped on your computer keyboard from 'z' to '\\'.
To use the computer keyboard, you should turn off auto repeat on your
X display via
.B xset(1)
:
.IP "" 4
% xset \-r
.PP
The key assignment can be changed by editing the config file
.B ~/.vkeybdrc.
Once save the current configuration via
.I "File/Save Config"
menu. The config file is the Tcl source, and you may change the list
of keymap as you wish.
The keymap is a list of elements consisting on the key symbol and the
corresponding note offset. The key symbol is the X key symbol for
assigned key, and note offset is the shifted note number from note key
of beginning of keyboard, which is changed by
.I Key
scalebar.
For example, when a pair of {a 8} is defined and the lowest MIDI key
is 48, a MIDI note 56 will be turned on by pressing the key 'a'.
.SH "PRESET LIST FILE"
The preset list file is used to describe the list of MIDI preset
names. If the command line option is omitted, the default preset list
file
.B ~/vkeybd.list,
.B ~/.vkeybd.list
and
.B $vkblib/vkeybd.list
are searched sequentially. The preset list will appear when
.I Program
toggle button is on, and you can select a tone to be played from the list.
.PP
The preset list file can be converted from
.B SoundFont(tm)
file via
.B sftovkb(1)
utility. For example,
.IP "" 4
% sftovkb synthgm.sbk > vkeybd.list
.PP
.SH "SEE ALSO"
sftovkb(1), X(1), xset(1), aconnect(1)
.SH AUTHOR
Takashi Iwai <[email protected]>