TiMidity 加载 141M 软波表的配置
采用 141M 音色库真正体验了什么叫音色淳美、通透、圆润、富于层次感。正确的配置很重要。这是在 /usr/share/timidity/timidity.cfg 中我写入的配置(音色库 FluidR3GM.SF2 也必须放到 /usr/share/timidity/ ):# 采样率 (22400/33600/44100,最大范围 4000-65000,一般 33600 就很满意了,再高消耗系统资源太大,容易断断续续)
opt -s 33600
# 启用合弦
opt -EFchorus=n
# 重新采样方法
opt -EFresamp=L
# 启用混响
opt -EFreverb=n
# 启用抗锯齿
opt -a
# 输出文件编码
opt -t auto
# 使用最大缓冲片段
opt -B 12,12
# 指定音色库(软波表)
soundfont FluidR3GM.SF2 k7-500 能完美运行么? :roll: 最关键是选择合适采样率和缓冲,这里使用了 CD 音质的 44100,如果系统差,你可以减半到 22400 或者用 33600。缓冲开到最大 12,可以避免断断续续。 这是 Timidity 的配置说明:
原文:
http://ccrma.stanford.edu/planetccrma/man/man5/timidity.cfg.5.html
timidity.cfg (5)
--------------------------------------------------------------------------------
NAME
timidity.cfg - configure file of TiMidity++
SYNOPSIS
/etc/timidity.cfg
/usr/local/share/timidity/timidity.cfg
DESCRIPTION
The file timidity.cfg describes the runtime environments of timidity(1)
that are the path of sound font, instruments configrations or else.
TiMidity looks for theconfigurationfiletimidity.cfgatstartup,
beforeprocessinganyoptions. Ifitcan'tbe accessed, and the
library path is changed with a -L option on the command line, thenthe
defaultfilewillbe soughtagainalongthenewlibrarypath
after processing all options, unless anotherconfigurationfile was
specified with the -c option.
Configurationfilesdefine the mapping of MIDI programs to instrument
files. Multiple files maybespecified, and statements in laterones
will override earlier ones.
FORMAT
Following statements can be used in a configuration file:
dir directory
Addsdirectoryto the search path in the same manner as the -L
command line option.
EXAMPLES
Archive file are also allowed. For example:
dir /usr/local/share/timidity/inst/foo.zip#
1 baz.pat
2 zoo.pat
0 bar.pat
At first, dir specities the archive name (followed by '#') for the path
of patch files same as directory name (in thiscase,
"/usr/local/share/timidity/inst/foo.zip").TiMidity recognize the path
isanarchivefile if the expression has the last character '#', and
also read the files contained in this archive file.In previouns exam-
plethepatchfilesbar.pat,baz.patand zoo.pat contained in the
foo.zip are also installed.
source file
Readsanotherconfigurationfile, thencontinuesprocessing
the current one.
progbase1arespecified, tone numbers that follow are setted
and displayed as the numbers from 1 to 128.
drumset number
Selectsthedrumsetto modify.Patch mappings thatfollow
will affect this drum set.
number file [options]
Specifiesthatthe the MIDI program number in the current tone
bank or drum set should be played using the patch file.options
may be any of the following:
amp=amplification
Amplifiestheinstrument's volume by amplification per-
cent. If no value is specified, one will be automatically
determined whenever the instrument is loaded.
note=note
Specifies a fixedMIDInotetousewhen playingthe
instrument.If note is 0, the instrument will beplayed
at whatever notetheNoteOneventtriggering it
has. For percussion instruments, if no value is specified
inthe configuration file, the default in the patch file
will be used.
pan=panning
Sets the instrument's defaultpanning.panningmaybe
left, right, center, or an nteger between -100and100,
designating fullleftand full right respectively. If
novalue is specified, thedefaultinthe patchfile
will be used.Note that panning controls inMIDIfiles
willoverridethis value.
keep={loop|env}
Bydefault,percussioninstruments have their loop and
envelope information stripped. Strangely shaped envelopes
areremovedautomaticallyfrommelodic instruments as
well. keep can be used to prevent strippingenvelopeor
loop data.Forexample, the Short and Long Whistle per-
cussion instruments (General Midi numbers 71 and 72) need
tohave `keep=loop keep=env' specified in the configura-
tion file.
strip={loop|env|tail}
Force removal of loop or envelopeinformationfromall
patchesintheinstrument, or strip the tail, i.e. all
data after the loop.Some third-partyinstrumentshave
garbage after the loop, as evidenced bya clicking noise
whenevertheinstrumentisplayed,so adding the
strip=tail option will markedly improve sound quality.
drumset 0
altassign 42 44 46
Note that alternate assign of drumset 0 is used by default.
#extension comm program secound
Specifiesthecommentcommentforthetone number program.
These comments are displayed in the indicater line atthecase
TiMidity is booted with option -int, -iTt.
#extension timeout program secound
Specifiesthetime-out value of the program. If any notes pro-
nounced with the tone number programaresuspendedmorethan
second seconds, TiMidity kills the notes.
#extension copydrumset drumset
Copies all settings of the drumset to the current drumset.
#extension copybank bank
Copies all settings of the bank to the current bank.
#extension HTTPproxy hostname:port
Specifiesthe proxy of the HTTP protocol. hostname and port are
of the proxy host's.
#extension FTPproxy hostname:port
Specifies the prox of the FTP protocol. Same as HTTP.
#extension mailaddr your-mail-address
Specifies user's mail address. This address is sended to the FTP
server if TiMidity access any file via FTp.
#extension opt [-]{option} [optarg]
Sets the value of boot-time options.
#extension undef progno
Undefine the tone progno of current tone bank.
These"#extension" statements are beginning with character '#' that is
the comment flag of old TiMidity(version 0.2i orearlier). Sothese
statememts are treated as comment line.
The latest TiMidity treats "#extension" as white-space. So you can omit
it.
If any file-name expression ended with character '|' (Ascii 0x7c),the
file-nameistreatedascommand and outputs of the command are also
examined as arguments of statements.
COPYRIGHT
Copyright(C)1999Masanao Izumo <[email protected]> Copyright (C) 1995
Tuukka Toivonen <[email protected]>
Original version wasdevelopedunderthenameofTuukkaToivonen
<[email protected]>untiltheversionof TiMidity-0.2i. His development was
discontinued because of his busy work.
This program is free software; you can redistribute it and/or modify it
undertheterms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (atyour
option) any later version.
Thisprogramisdistributedin the hope that it will be useful, but
WITHOUT ANYWARRANTY;withouteventheimpliedwarrantyofMER-
CHANTABILITYorFITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA02111-1307USA
AVAILABILITY
The latest release is available on the TiMidity++ Page,
URL http://www.goice.co.jp/member/mo/timidity/
1.0.0 Nov 24 1998 timidity.cfg(5)
magic 下的 midi 播放软件 timidity:
http://www.magiclinux.org/dev/2.0/cd2/RPMS/Multimedia/timidity/ 音色库 FluidR3GM.SF2 ML2里有吗?给个下载地址啊! 音色库去音乐相关论坛找。
页:
[1]