⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install

📁 MIDI解码程序(用VC编写)
💻
📖 第 1 页 / 共 2 页
字号:
#define AUDIO_BUFFER_BITS 12I guess this values no need to change.** CONTROLS_PER_SECONDTiMidity++ do not calculate every envelope changes, but calculate somesamples at one time.  Small controls yields better quality sound, butalso eat much CPU time.  By default:#define CONTROLS_PER_SECOND 1000This can be changed from command line.  Leave as it is.** DEFAULT_RESAMPLATIONType of interpolation engine.  By default:#define DEFAULT_RESAMPLATION resample_gaussThis definition cause TiMidity++ to Gauss-like interpolation in re-sampling, and the quality of sound would be nice.  But it eats CPUpowers.  I recommend define it if your machine has much power.  Otherchoices are (sorted by their speed):#define DEFAULT_RESAMPLATION resample_none#define DEFAULT_RESAMPLATION resample_linear#define DEFAULT_RESAMPLATION resample_lagrange#define DEFAULT_RESAMPLATION resample_cspline#define DEFAULT_RESAMPLATION resample_gauss#define DEFAULT_RESAMPLATION resample_newtonInterpolation methods are changeable from the command line.  If youwant to prevent users from doing so, uncomment next line and define asthis:#define FIXED_RESAMPLATION** USE_DSP_EFFECTConfiguration of USE_DSP_EFFECT to refine chorus, delay, EQ andinsertion effect.  Default enabled.** LOOKUP_HACKConfiguration of LOOKUP_HACK.  By default, this features are undefinedlike this:/* #define LOOKUP_HACK *//* #define LOOKUP_INTERPOLATION */This option saves a little CPU power, but sound quality would decreasenoticeably.  If your machine suffers from lack of CPU power, enableit.** SMOOTH_MIXINGDefining this greatly reduces popping due to large volume/pan changes.This is definitely worth the slight increase in CPU usage.** FAST_DECAYConfiguration of FAST_DECAY.  By default:/* #define FAST_DECAY */This option makes envelopes twice as fast and saves CPU power.  Butsince the release time of voices is shorten, the sound would be poor.This feature is controllable in command line option.** FRACTION_BITSTiMidity++ uses fixed-point calculation.  Its default is#define FRACTION_BITS 12and you don't have to change this value.** ADJUST_SAMPLE_VOLUMESConfiguration of adjusting amplitude of GUS/patch.  By default:#define ADJUST_SAMPLE_VOLUMESThis option makes TiMidity to adjust amplitudes of each GUS/patch tosame volume.** DENGEROUS_RENICEBy default this feature is disabled:/* #define DANGEROUS_RENICE -15 */If you want to increase process priority of TiMidity++ by using setuidroot enable this option.  This option is only available in UNIX.  Onceyou enabled this option, you should install timidity with the follow-ing procedure:# chown root /usr/local/bin/timidity# chmod u+s /usr/local/bin/timidityNote: You should not set setuid to timidity if DANGEROUS_RENICE isn't      enabled.** MAX_DIE_TIMEIf this value is too small, click noise would be come.  Default is:#define MAX_DIE_TIME 20and I recommend this value leave to this.** LOOKUP_SINE#define LOOKUP_SINEOn some machines (especially PCs without math coprocessors), lookingup sine values in a table will be significantly faster than computingthem on the fly.  I recommend define it.** PRECALC_LOOPSConfiguration of optimizing re-sampling.  By default:#define PRECALC_LOOPSThese may not in fact be faster on your particular machine andcompiler.** USE_LDEXPConfiguration of use of ldexp().  By default this feature is disabled:/* #define USE_LDEXP */If your machine can multiply floating point number with ldexp() fasterthan other method, enable this option.** DEFAULT_CACHE_DATA_SIZESize of pre-re-sampling cache.  By default:#define DEFAULT_CACHE_DATA_SIZE (2*1024*1024)This can be changed from command line, so you don't have to changehere.* Configurations about networkTiMidity++ can access any files via networks with URL.  This featureare configurable in Makefile.  If you have enabled this feature inMakefile (configure --enable-network), configure the following macros:** MAIL_DOMAINspecifies domain name of your name address.  If your name address is"iz@onicos.co.jp" set the macro:#define MAIL_DOMAIN "@onicos.co.jp"** MAIL_NAMEspecifies mail name of yours if in Windows.  In UNIX, uncomment it.For example, your name address is "iz@onicos.co.jp" set the macro:#define MAIL_NAME "iz"** TMPDIRConfiguration of temporary directory.  By default, this option isdisabled:/* #define TMPDIR "/var/tmp" */In UNIX, if this option is disabled TiMidity++ creates temporary filesin the path specified by the environment variable TMPDIR.  If environ-ment variable TMPDIR also isn't defined, TiMidity++ creates temporaryfiles in /tmp.  In Windows, TMPDIR variable are ignored.  So youshould specify the temporary path with this macro.** GS_DRUMPARTRecognizing GS drum part by GS exclusive message.#define GS_DRUMPARTenables to recognize GS exclusive message to set drum part./* #define GS_DRUMPART */disables this feature.* Japanese-text-handling related optionsThere are some options for Japanese handling.** JAPANESEIf your system is in Japanese environment, define#define JAPANESEotherwise comment it out like/* #define JAPANESE */** OUTPUT_TEXT_CODEspecifies output text code (in Japanese environment).  You shouldspecify appropriate code name to OUTPUT_TEXT_CODE macro.  The follow-ing strings are available:AUTO  Auto conversion by `LANG' environment variable (UNIX only)ASCII  Convert unreadable characters to '.' (0x2e)NOCNV  No conversion1251  Convert from windows-1251 to koi8-rEUC  eucJPJIS  JISSJIS  shift-JISIn Japanized UNIX system, all of above are available.  In Windows,"ASCII", "NOCNV", "SJIS" are available.  If your environment cannothandle Japanese, specify "ASCII" or "NOCNV" alternatively.** MODULATION_WHEEL_ALLOW** PORTAMENTO_ALLOW** NRPN_VIBRATO_ALLOW** REVERB_CONTROL_ALLOW** FREEVERB_CONTROL_ALLOW** CHORUS_CONTROL_ALLOW** SURROUND_CHORUS_ALLOW** GM_CHANNEL_PRESSURE_ALLOW** VOICE_CHAMBERLIN_LPF_ALLOW** VOICE_MOOG_LPF_ALLOW** MODULATION_ENVELOPE_ALLOW** ALWAYS_TRACE_TEXT_META_EVENT** OVERLAP_VOICE_ALLOW** TEMPER_CONTROL_ALLOWControllers of MIDI actions.  By default:#define MODULATION_WHEEL_ALLOW#define PORTAMENTO_ALLOW#define NRPN_VIBRATO_ALLOW/* #define REVERB_CONTROL_ALLOW */#define FREEVERB_CONTROL_ALLOW#define CHORUS_CONTROL_ALLOW/* #define SURROUND_CHORUS_ALLOW *//* #define GM_CHANNEL_PRESSURE_ALLOW */#define VOICE_CHAMBERLIN_LPF_ALLOW/* #define VOICE_MOOG_LPF_ALLOW *//* #define MODULATION_ENVELOPE_ALLOW *//* #define ALWAYS_TRACE_TEXT_META_EVENT */#define OVERLAP_VOICE_ALLOW#define TEMPER_CONTROL_ALLOWThese values are configurable in command line options.  So you mayleave these in default value.======================================================================Make======================================================================Make section has nothing particular to write.  Just say "make"...Oops, almost forgot, TiMidity++'s Makefile needs GNU version ofmake.  If you do not have, get one first.  If you have one in adifferent name than "make", type its true name instead.InstallationOn UNIX and clones, you can type "make install" to install all files.Or you can select following targets:install.bin  installs executable fillesinstall.tk  installs Tcl/Tk interfaceinstall.el  installs Emacs interfaceinstall.man  installs man filesinstall  installs everythingI strongly recommend you to check the install destinations and filesby setteing -n flag like% make -n======================================================================Search for voice data======================================================================TiMidity++ uses Either GUS/patch, or SoundFont(, or both) as the voicedata to play.  You must get a SoundFont or GUS/patch files, and makethe configuration file.  You must make the configuration file (*.cfg).By default, timidity.cfg is /usr/local/share/timidity/timidity.cfg (orC:\WINDOWS\TIMIDITY.CFG on Windows).  And please check the followingsites for many voice(patch) data:* http://www.onicos.com/staff/iz/timidity/link.html#gus* http://www.onicos.com/staff/iz/timidity/dist/cfg/ (Some sample *.cfg's)* http://www.i.h.kyoto-u.ac.jp/~shom/timidity/ (10M and 4M patches)* ftp://ftp.cdrom.com/pub/gus/sound/patches/files/ (GUS site)If you got funny voice archive, extract it to appropriate directoryand configure *.cfg files with the name and path of these voice datas.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -