diff options
author | Torbjörn Andersson | 2006-01-14 20:05:56 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-01-14 20:05:56 +0000 |
commit | a61e62db95d30c9886cf2e66e84f9e753c04f2d5 (patch) | |
tree | 8b3f192d2c74ef1c40187d3f106c3ffe56b21bd5 /doc | |
parent | d8d6da1ff0defa13d4f458e1a6340c5254c76a2d (diff) | |
download | scummvm-rg350-a61e62db95d30c9886cf2e66e84f9e753c04f2d5.tar.gz scummvm-rg350-a61e62db95d30c9886cf2e66e84f9e753c04f2d5.tar.bz2 scummvm-rg350-a61e62db95d30c9886cf2e66e84f9e753c04f2d5.zip |
Lowered FluidSynth's default gain, and added config file and command-line
options to specify it. FluidSynth's gain ranges from 0.0 through 10.0 and
is probably measured in decibel, but to keep things simple, ScummVM uses
settings from 0 through 1000 instead. (Though currently there's no guard
against invalid settings.)
This is a slightly revised version of the non-GUI part of patch #1336171.
svn-id: r20030
Diffstat (limited to 'doc')
-rw-r--r-- | doc/05_01.tex | 2 | ||||
-rw-r--r-- | doc/07_02b.tex | 9 | ||||
-rw-r--r-- | doc/08.tex | 2 |
3 files changed, 13 insertions, 0 deletions
diff --git a/doc/05_01.tex b/doc/05_01.tex index 9b40d81115..220bfad68c 100644 --- a/doc/05_01.tex +++ b/doc/05_01.tex @@ -22,6 +22,8 @@ Usage: scummvm [OPTIONS]... [GAME]\\ -m, --music-volume=NUM &Set the music volume, 0-255 (default: 192)\\ -s, --sfx-volume=NUM &Set the sfx volume, 0-255 (default: 192)\\ -r, --speech-volume=NUM &Set the voice volume, 0-255 (default: 192)\\ + --midi-gain &Set the gain for MIDI playback, 0-1000 (default:\\ + &100) (only supported by some MIDI drivers)\\ -n, --subtitles &Enable subtitles (use with games that have voice)\\ -b, --boot-param=NUM &Pass number to the boot script (boot param)\\ -d, --debuglevel=NUM &Set debug verbosity level\\ diff --git a/doc/07_02b.tex b/doc/07_02b.tex index 8c9c22c9aa..4acc95ae2d 100644 --- a/doc/07_02b.tex +++ b/doc/07_02b.tex @@ -10,5 +10,14 @@ If ScummVM was build with libfluildsynth support it will be able to play MIDI music through the FluidSynth driver. You will have to specify a SoundFont to use, however. +Since the default output volume from FluidSynth can be fairly low, ScummVM will +set the gain by default to get a stronger signal. This can be further adjusted +using the --midi-gain command-line option, or the ``midi\_gain'' config file +setting. + +The setting can take any value from 0 through 1000, with the default being 100. +(This corresponds to FluidSynth's gain settings of 0.0 through 10.0, which are +presumably measured in decibel.) + \textbf{NOTE:} The processor requirements for FluidSynth can be fairly high in some cases. A fast CPU is recommended. diff --git a/doc/08.tex b/doc/08.tex index 7bde403612..461eee6de4 100644 --- a/doc/08.tex +++ b/doc/08.tex @@ -109,6 +109,8 @@ The following keywords are recognized: sfx\_volume &number The sfx volume setting (0-255)\\ tempo &number The music tempo (50-200) (default: 100)\\ speech\_volume &number The speech volume setting (0-255)\\ + midi\_gain &number The MIDI gain (0-1000) (default: 100) (Only\\ + & supported by some MIDI drivers.)\\ \\ copy\_protection&bool Enable copy protection in SCUMM games, when\\ & ScummVM disables it by default.\\ |