Data Sheet

PRELIMINARY
VS1063a Datasheet
10 OPERATION
Ogg Vorbis
Parameter Address Usage
gain 0x1e2a Preferred replay-gain offset
Ogg Vorbis decoding supports Replay Gain technology. The Replay Gain technology is used
to automatically give all songs a matching volume so that the user does not need to adjust
the volume setting between songs. If the Ogg Vorbis decoder finds a Replay Gain tag in the
song header, the tag is parsed and the decoded gain setting can be found from the
parameter. For a song without any Replay Gain tag, a default of -6 dB ( value -12) is
used. For more details about Replay Gain, see http://en.wikipedia.org/wiki/Replay_Gain and
http://www.replaygain.org/.
The player software can use the gain value to adjust the volume level. Negative values mean
that the volume should be decreased, positive values mean that the volume should be in-
creased.
For example = -11 means that volume should be decreased by 5.5 dB (11/2 = 5.5),
and left and right attenuation should be increased by 11. When = 2 volume should be
increased by 1 dB (2/2 = 1.0), and left and right attenuation should be decreased by 2. Because
volume setting can not go above +0 dB, the value should be saturated.
Gain Volume SCI_VOL (Volume-Gain)
-11 (-5.5 dB) 0 (+0.0 dB) 0x0b0b (-5.5 dB)
-11 (-5.5 dB) 3 (-1.5 dB) 0x0e0e (-7.0 dB)
+2 (+1.0 dB) 0 (+0.0 dB) 0x0000 (+0.0 dB)
+2 (+1.0 dB) 1 (-0.5 dB) 0x0000 (+0.0 dB)
+2 (+1.0 dB) 4 (-2.0 dB) 0x0202 (-1.0 dB)
Version: 0.42, 2011-11-24 75