[Scummvm-cvs-logs] CVS: scummvm NEWS,1.143,1.144 README,1.352,1.353

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Sat Jan 14 12:07:01 CET 2006


Update of /cvsroot/scummvm/scummvm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23277

Modified Files:
	NEWS README 
Log Message:
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.


Index: NEWS
===================================================================
RCS file: /cvsroot/scummvm/scummvm/NEWS,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -d -r1.143 -r1.144
--- NEWS	1 Jan 2006 14:11:30 -0000	1.143
+++ NEWS	14 Jan 2006 20:05:55 -0000	1.144
@@ -24,6 +24,7 @@
      cannot use it.
    - Fixed potential security vulnerability with oversized PATH environment
      variables.
+   - Lowered default gain for FluidSynth and made it configurable.
 
  SCUMM:
    - Fixed mouse button states in COMI.

Index: README
===================================================================
RCS file: /cvsroot/scummvm/scummvm/README,v
retrieving revision 1.352
retrieving revision 1.353
diff -u -d -r1.352 -r1.353
--- README	14 Jan 2006 17:28:20 -0000	1.352
+++ README	14 Jan 2006 20:05:55 -0000	1.353
@@ -469,7 +469,9 @@
   -q, --language=LANG      Select language (see also section 5.2)
   -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)
+  -r, --speech-volume=NUM  Set the voice volume, 0-255 (default: 192)
+  --midi-gain=NUM          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
@@ -865,6 +867,15 @@
 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.)
+
 NOTE: The processor requirements for FluidSynth can be fairly high in some
 cases. A fast CPU is recommended.
 
@@ -1269,6 +1280,8 @@
         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
+                                 suported by some MIDI drivers.)
 
         copy_protection bool     Enable copy protection in SCUMM games, when
                                  ScummVM disables it by default.





More information about the Scummvm-git-logs mailing list