Novell SuSE Linux Professional 9.2 Upgrade [Strong Encryption 128 Bit] 00662644457260 ユーザーズマニュアル

製品コード
00662644457260
ページ / 324
one practical application of this technique, you could split a keyboard into sev-
eral regions, each sending on a different MIDI channel. QMidiRoute also has a
window listing all MIDI events received on the input port.
15.10
MIDI Playback without a WaveTable
Card
Some sound cards do not have a WaveTable synthesizer for playing MIDI files
with the loaded sound font (or instrument patch). In this case, use a software
WaveTable synthesizer like fluidsynth or timidity++.
15.10.1
The Sound Font Synthesizer fluidsynth
After the program is started with a command like
fluidsynth -a alsa -m
alsa_seq gm.sf2
, fluidsynth appears in the list of writable MIDI ports and
can be used as sound source. In this example,
gm.sf2
is a file in the widely-used
SoundFont format. Suitable files are available on the Internet. fluidsynth has nu-
merous command-line options that can be displayed with
fluidsynth -h
.
15.10.2
Configuration of timidity++
timidity++ is configured by means of the configuration file
/usr/share/
timidity/timidity.cfg
. View documentation for the configuration with
man timidity.cfg
. Also refer to the documentation in
/usr/share/doc/
packages/timidity
.
Suitable instrument patches are available at
http://www.stardate.bc.ca/
eawpatches/html/default.htm
. From this URL, you can download the file
eawpats12_full.rar
. Although the size of this file is 22 MB, the download is
worthwhile, because it equips you with a full set of GM, GS, and XG instruments.
To use these patches with timidity++, proceed as follows. First, assume the
root
user identity. Then create the directory
/usr/share/timidity/eawpats
,
copy
eawpats12_full.rar
there, and change to this directory. The command
unrar x eawpats12_full.rar
decompresses the archive.
Now edit the file
timidity.cfg
in the directory
/usr/share/timidity/
. It
should only contain the two lines shown in File 15.2 on the facing page.
198
15.10. MIDI Playback without a WaveTable Card