aboutsummaryrefslogtreecommitdiffstats
path: root/doc/protocol.xml
diff options
context:
space:
mode:
authorTim Phipps <mpd@phipps-hutton.freeserve.co.uk>2010-03-21 18:21:47 +0100
committerMax Kellermann <max@duempel.org>2010-03-21 18:21:47 +0100
commite7a515c8b11c643332406d60a13ab1fe06d2b226 (patch)
treeaa7179b453b6fe7b163d1b4b807157359cb436cf /doc/protocol.xml
parente9b75d462c4d0ffee3b3b26582800ec4f657a333 (diff)
downloadmpd-e7a515c8b11c643332406d60a13ab1fe06d2b226.tar.gz
mpd-e7a515c8b11c643332406d60a13ab1fe06d2b226.tar.xz
mpd-e7a515c8b11c643332406d60a13ab1fe06d2b226.zip
Add support for MixRamp tags
Adds mixrampdb and mixrampdelay commands. Reads MIXRAP_START and MIXRAMP_END tags from FLAC files and overlaps instead of crossfading.
Diffstat (limited to 'doc/protocol.xml')
-rw-r--r--doc/protocol.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/protocol.xml b/doc/protocol.xml
index 4ed1878c8..e327bf66d 100644
--- a/doc/protocol.xml
+++ b/doc/protocol.xml
@@ -340,6 +340,18 @@
</listitem>
<listitem>
<para>
+ <varname>mixrampdb</varname>:
+ <returnvalue>mixramp threshold in dB</returnvalue>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <varname>mixrampdelay</varname>:
+ <returnvalue>mixrampdelay in seconds</returnvalue>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
<varname>audio</varname>:
<returnvalue>sampleRate:bits:channels</returnvalue>
</para>
@@ -442,6 +454,32 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry id="command_mixrampdb">
+ <term>
+ <cmdsynopsis>
+ <command>mixrampdb</command>
+ <arg choice="req"><replaceable>deciBels</replaceable></arg>
+ </cmdsynopsis>
+ </term>
+ <listitem>
+ <para>
+ Sets the threshold at which songs will be overlapped. Like crossfading but doesn't fade the track volume, just overlaps. The songs need to have MixRamp tags added by an external tool. 0dB is the normalized maximum volume so use negative values, I prefer -17dB. In the absence of mixramp tags crossfading will be used. See http://sourceforge.net/projects/mixramp
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry id="command_mixrampdelay">
+ <term>
+ <cmdsynopsis>
+ <command>mixrampdelay</command>
+ <arg choice="req"><replaceable>SECONDS</replaceable></arg>
+ </cmdsynopsis>
+ </term>
+ <listitem>
+ <para>
+ Additional time subtracted from the overlap calculated by mixrampdb. A value of "nan" disables MixRamp overlapping and falls back to crossfading.
+ </para>
+ </listitem>
+ </varlistentry>
<varlistentry id="command_random">
<term>
<cmdsynopsis>