[Scummvm-cvs-logs] CVS: scummvm NEWS,, README,1.335.2.11,1.335.2.12

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

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

Modified Files:
      Tag: branch-0-8-0
Log Message:
Backported MIDI gain stuff to make FluidSynth a bit nicer to use.

Index: NEWS
RCS file: /cvsroot/scummvm/scummvm/NEWS,v
retrieving revision
retrieving revision
diff -u -d -r1.132.2.9 -r1.132.2.10
--- NEWS	1 Jan 2006 14:11:02 -0000
+++ NEWS	14 Jan 2006 20:13:11 -0000
@@ -7,6 +7,7 @@
      cannot use it.
    - Fixed potential security vulnerability with oversized PATH environment
+   - Lowered default gain for FluidSynth and made it configurable.
    - Fixed mouse button states in COMI.

RCS file: /cvsroot/scummvm/scummvm/README,v
retrieving revision 1.335.2.11
retrieving revision 1.335.2.12
diff -u -d -r1.335.2.11 -r1.335.2.12
--- README	2 Jan 2006 23:55:03 -0000	1.335.2.11
+++ README	14 Jan 2006 20:13:11 -0000	1.335.2.12
@@ -451,7 +451,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
@@ -841,6 +843,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
+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.
@@ -1245,6 +1256,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