Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
e08c85ae
Commit
e08c85ae
authored
Nov 22, 2021
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/mpd.conf.5.rst: move ReplayGain documentation to user.rst
parent
dcb5ca20
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
17 deletions
+40
-17
mpd.conf.5.rst
doc/mpd.conf.5.rst
+0
-17
user.rst
doc/user.rst
+40
-0
No files found.
doc/mpd.conf.5.rst
View file @
e08c85ae
...
...
@@ -128,23 +128,6 @@ audio_output
no audio_output section is specified, then MPD will scan for a usable audio
output.
replaygain <off or album or track or auto>
If specified, mpd will adjust the volume of songs played using ReplayGain
tags (see https://wiki.hydrogenaud.io/index.php?title=Replaygain).
Setting this to "album" will
adjust volume using the album's ReplayGain tags, while setting it to "track"
will adjust it using the track ReplayGain tags. "auto" uses the track
ReplayGain tags if random play is activated otherwise the album ReplayGain
tags. Currently only FLAC, Ogg Vorbis, Musepack, and MP3 (through ID3v2
ReplayGain tags, not APEv2) are supported.
replaygain_preamp <-15 to 15>
This is the gain (in dB) applied to songs with ReplayGain tags.
volume_normalization <yes or no>
If yes, mpd will normalize the volume of songs as they play. The default is
no.
filesystem_charset <charset>
This specifies the character set used for the filesystem. A list of supported
character sets can be obtained by running "iconv -l". The default is
...
...
doc/user.rst
View file @
e08c85ae
...
...
@@ -465,6 +465,11 @@ The following table lists the audio_output options valid for all plugins:
implement
an
external
mixer
,
see
:
ref
:`
external_mixer
`)
or
no
mixer
(:
samp
:`
none
`).
By
default
,
the
hardware
mixer
is
used
for
devices
which
support
it
,
and
none
for
the
others
.
*
-
**
replay_gain_handler
software
|
mixer
|
none
**
-
Specifies
how
:
ref
:`
replay_gain
`
is
applied
.
The
default
is
``
software
``,
which
uses
an
internal
software
volume
control
.
``
mixer
``
uses
the
configured
(
hardware
)
mixer
control
.
``
none
``
disables
replay
gain
on
this
audio
output
.
*
-
**
filters
"name,...**"
-
The
specified
configured
filters
are
instantiated
in
the
given
order
.
Each
filter
name
refers
to
a
``
filter
``
block
,
see
...
...
@@ -583,6 +588,40 @@ Sometimes, music needs to be resampled before it can be played; for example, CDs
Check
the
:
ref
:`
resampler_plugins
`
reference
for
a
list
of
resamplers
and
how
to
configure
them
.
Volume
Normalization
Settings
-----------------------------
..
_replay_gain
:
Replay
Gain
^^^^^^^^^^^
The
setting
``
replaygain
``
specifies
whether
MPD
shall
adjust
the
volume
of
songs
played
using
`
ReplayGain
<
https
://
wiki
.
hydrogenaud
.
io
/
index
.
php
?
title
=
Replaygain
>`
__
tags
.
Setting
this
to
``
album
``
will
adjust
volume
using
the
album
's
ReplayGain tags, while setting it to ``track`` will adjust it using
the "track" ReplayGain tags. ``auto`` uses the track ReplayGain tags
if random play is activated otherwise the album ReplayGain
tags.
If ReplayGain is enabled, then the setting ``replaygain_preamp`` is
set to a value (in dB) between ``-15`` and ``15``. This is the gain
applied to songs with ReplayGain tags.
ReplayGain is usually implemented with a software volume filter (which
prevents `Bit-perfect playback`_). To use a hardware mixer, set
``replay_gain_handler`` to ``mixer`` in the ``audio_output`` section
(see :ref:`config_audio_output` for details).
Simple Volume Normalization
^^^^^^^^^^^^^^^^^^^^^^^^^^^
MPD implements a very simple volume normalization method which can be
enabled by setting ``volume_normalization`` to ``yes``. It supports
16 bit PCM only.
Client Connections
------------------
...
...
@@ -1076,6 +1115,7 @@ Check list for bit-perfect playback:
* Disable sound processing inside ALSA by configuring a "hardware"
device (:samp:`hw:0,0` or similar).
* Don'
t
use
software
volume
(
setting
:
code
:`
mixer_type
`).
*
Don
't use :ref:`replay_gain`.
* Don'
t
force
:
program
:`
MPD
`
to
use
a
specific
audio
format
(
settings
:
code
:`
format
`,
:
ref
:`
audio_output_format
<
audio_output_format
>`).
*
Verify
that
you
are
really
doing
bit
-
perfect
playback
using
:
program
:`
MPD
`
's verbose log and :file:`/proc/asound/card*/pcm*p/sub*/hw_params`. Some DACs can also indicate the audio format.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment