1 .TH timidity.cfg 5 "Nov 24 1998" "1.0.0"
3 timidity.cfg \- configure file of TiMidity++
9 .B /usr/local/lib/timidity/timidity.cfg
13 The file \fItimidity.cfg\fP describes the runtime environments of
14 timidity(1) that are the path of sound font, instruments configrations
17 \fITiMidity\fP looks for the configuration file \fItimidity.cfg\fP at
18 startup, before processing any options. If it can't be
19 accessed, and the library path is changed with a \-L option
20 on the command line, then the default file will be sought
21 again along the new library path after processing all
22 options, unless another configuration file was specified
25 Configuration files define the mapping of MIDI programs to
26 instrument files. Multiple files may be specified, and
27 statements in later ones will override earlier ones.
32 Following statements can be used in a configuration file:
36 Adds \fIdirectory\fP to the search path in the same manner
37 as the \fB\-L\fP command line option.
39 Archive file are also allowed. For example:
41 dir /usr/local/lib/timidity/inst/foo.zip#
51 At first, \fBdir\fP specities the archive name (followed by '#') for the
52 path of patch files same as directory name (in this case ,
53 "/usr/local/lib/timidity/inst/foo.zip").
54 TiMidity recognize the path is an archive file if the expression has
55 the last character '#', and also read the files contained in this
57 In previouns example the patch files bar.pat, baz.pat and zoo.pat
58 contained in the foo.zip are also installed.
62 Reads another configuration file, then continues
63 processing the current one.
67 Selects the tone bank to modify. Patch mappings
68 that follow will affect this tone bank.
71 .BI progbase " number"
72 Sets and displays the tone number from \fInumber\fP to \fInumber+128\fP.
73 If \fB progbase 1\fP are specified, tone numbers that follow are setted
74 and displayed as the numbers from 1 to 128.
78 Selects the drum set to modify. Patch mappings
79 that follow will affect this drum set.
82 .BI number " file [options]"
83 Specifies that the the MIDI program number in the
84 current tone bank or drum set should be played
85 using the patch file. options may be any of the
90 \fBamp=\fP\fIamplification\fP
91 Amplifies the instrument's volume by \fIamplification\fP
92 percent. If no value is specified,
93 one will be automatically determined whenever
94 the instrument is loaded.
98 Specifies a fixed MIDI note to use when
99 playing the instrument. If \fInote\fP is 0, the
100 instrument will be played at whatever note
101 the Note On event triggering it has. For
102 percussion instruments, if no value is specified
103 in the configuration file, the default
104 in the patch file will be used.
107 \fBpan=\fP\fIpanning\fP
108 Sets the instrument's default panning. panning
109 may be \fBleft\fP, \fBright\fP, \fBcenter\fP, or an
110 nteger between \-100 and 100, designating
111 full left and full right respectively. If
112 no value is specified, the default in the
113 patch file will be used. Note that panning
114 controls in MIDI files will override this
118 \fBkeep=\fP{\fBloop\fP|\fBenv\fP}
119 By default, percussion instruments have
120 their loop and envelope information
121 stripped. Strangely shaped envelopes are
122 removed automatically from melodic instruments
123 as well. \fBkeep\fP can be used to prevent
124 stripping envelope or loop data. For example,
125 the Short and Long Whistle percussion
126 instruments (General Midi numbers 71 and 72)
127 need to have `\fBkeep=loop keep=env\fP' specified
128 in the configuration file.
131 \fBstrip=\fP{\fBloop\fP|\fBenv\fP|\fBtail\fP}
132 Force removal of loop or envelope information
133 from all patches in the instrument, or
134 strip the tail, i.e. all data after the
135 loop. Some third-party instruments have
136 garbage after the loop, as evidenced by a
137 clicking noise whenever the instrument is
138 played, so adding the strip=tail option will
139 markedly improve sound quality.
142 The following statements are available only latest TiMidity.
145 .BI "#extension altassign" " program1 program2 ..."
146 Sets the alternate assign for drum set.
147 For example, if you want to pronounce Hi-Hat cymbals (note number 42/44/46)
148 in the drumset 0 exclusively to each others, specify:
154 Note that alternate assign of drumset 0 is used by default.
157 .BI "#extension comm" " program secound"
158 Specifies the comment \fIcomment\fP for the tone number \fIprogram\fP.
159 These comments are displayed in the indicater line at the case
160 TiMidity is booted with option \fB\-iNt\fP, \fB\-iTt\fP.
163 .BI "#extension timeout" " program secound"
164 Specifies the time\-out value of the \fIprogram\fP. If any notes
165 pronounced with the tone number \fIprogram\fP are suspended
166 more than \fIsecond\fP seconds, TiMidity kills the notes.
169 .BI "#extension copydrumset" " drumset"
170 Copies all settings of the \fIdrumset\fP to the current drumset.
173 .BI "#extension copybank" " bank"
174 Copies all settings of the \fIbank\fP to the current bank.
177 .BI "#extension HTTPproxy" " hostname:port"
178 Specifies the proxy of the HTTP protocol. \fIhostname\fP and
179 \fIport\fB are of the proxy host's.
182 .BI "#extension FTPproxy" " hostname:port"
183 Specifies the prox of the FTP protocol. Same as HTTP.
186 .BI "#extension mailaddr" " your\-mail\-address"
187 Specifies user's mail address. This address is sended to the
188 FTP server if TiMidity access any file via FTp.
191 .BI "#extension [\-]{option}" " [optarg]"
192 Sets the value of boot\-time options.
195 .BI "#extension undef" " progno"
196 Undefine the tone \fIprogno\fP of current tone bank.
199 These "#extension" statements are beginning with character '#' that
200 is the comment flag of old TiMidity(version 0.2i or earlier).
201 So these statememts are treated as comment line.
203 The latest TiMidity treats "#extension" as white\-space. So you can omit
207 If any \fIfile\-name\fP expression ended with character '|' (Ascii 0x7c),
208 the file\-name is treated as command and outputs of the command
209 are also examined as arguments of statements.
213 timidity(1), lsmidiprog(1), mididump(1), patinfo(1), sf2text(1), wav2pat(1)
217 Copyright (C) 1999 Masanao Izumo <mo@goice.co.jp>
218 Copyright (C) 1995 Tuukka Toivonen <tt@cgs.fi>
220 Original version was developed under the name of Tuukka Toivonen
221 <tt@cgs.fi> until the version of TiMidity-0.2i. His development was
222 discontinued because of his busy work.
224 This program is free software; you can redistribute it and/or modify
225 it under the terms of the \fIGNU General Public License\fP as published by
226 the Free Software Foundation; either version 2 of the License, or (at
227 your option) any later version.
229 This program is distributed in the hope that it will be useful, but
230 WITHOUT ANY WARRANTY; without even the implied warranty of
231 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \fIGNU
232 General Public License\fP for more details.
234 You should have received a copy of the GNU General Public License
235 along with this program; if not, write to the Free Software
236 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
240 The latest release is available on the TiMidity++ Page,
242 URL http://www.goice.co.jp/member/mo/timidity/