aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-07-22 00:53:37 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-07-22 00:53:37 +0000
commitcf90f8194fdcf4b7d3234453da00f8f3b88e54c9 (patch)
tree171cf6dc76a024d6efeea52082bdbfb12075c765 /doc
parentc4d1344f8c9ca6398317135173a01d423d315f63 (diff)
downloadmpd-cf90f8194fdcf4b7d3234453da00f8f3b88e54c9.tar.gz
mpd-cf90f8194fdcf4b7d3234453da00f8f3b88e54c9.tar.xz
mpd-cf90f8194fdcf4b7d3234453da00f8f3b88e54c9.zip
Adding on the fly volume normalization support. Code originally from mplayer, ported by syscrash, cleaned up by avuton, and further cleaned up by me (jat).
git-svn-id: https://svn.musicpd.org/mpd/trunk@4424 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--doc/mpd.conf.53
-rw-r--r--doc/mpdconf.example9
2 files changed, 11 insertions, 1 deletions
diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5
index 9f0fe59f1..809ea8dc7 100644
--- a/doc/mpd.conf.5
+++ b/doc/mpd.conf.5
@@ -92,6 +92,9 @@ Musepack, and MP3 (through ID3v2 replaygain tags, not APEv2) are supported.
.B replaygain_preamp <-15 to 15>
This is the gain (in dB) applied to songs with replaygain tags.
.TP
+.B volume_normalization <yes or no>
+If yes, mpd will normalize the volume of songs as they play. Default is no.
+.TP
.B audio_buffer_size <size in KiB>
This specifies the size of the audio output buffer that mpd uses. The default
is 2048.
diff --git a/doc/mpdconf.example b/doc/mpdconf.example
index 1dcfdf686..8f77a4ace 100644
--- a/doc/mpdconf.example
+++ b/doc/mpdconf.example
@@ -126,7 +126,7 @@ pid_file "~/.mpd/mpd.pid"
##########################################################
-################# REPLAYGAIN #############################
+################# Normalization ##########################
#
# Use Replay Gain (album or track)
# http://www.replaygain.org
@@ -138,6 +138,13 @@ pid_file "~/.mpd/mpd.pid"
#
#replaygain_preamp "0"
#
+# Normalization increases the amplitude of the audio
+# waveform to the maximum level without introducing any
+# distortion into the recording. This option will
+# normalize when replaygain is not on, utilizing the
+# CPU for calculation.
+#
+#volume_normalization "yes"
##########################################################