4.11. Relative volume adjustment (2)
This is a more subjective frame than the previous ones. It allows the
user to say how much he wants to increase/decrease the volume on each
channel when the file is played. The purpose is to be able to align
all files to a reference volume, so that you don't have to change the
volume constantly. This frame may also be used to balance adjust the
audio. The volume adjustment is encoded as a fixed point decibel
value, 16 bit signed integer representing (adjustment*512), giving
+/- 64 dB with a precision of 0.001953125 dB. E.g. +2 dB is stored as
$04 00 and -2 dB is $FC 00. There may be more than one "RVA2" frame
in each tag, but only one with the same identification string.
<Header for 'Relative volume adjustment (2)', ID: "RVA2">
Identification <text string> $00
The 'identification' string is used to identify the situation and/or
device where this adjustment should apply. The following is then
repeated for every channel
Type of channel $xx
Volume adjustment $xx xx
Bits representing peak $xx
Peak volume $xx (xx ...)
Type of channel: $00 Other
$01 Master volume
$02 Front right
$03 Front left
$04 Back right
$05 Back left
$06 Front centre
$07 Back centre
$08 Subwoofer
Bits representing peak can be any number between 0 and 255. 0 means
that there is no peak volume field. The peak volume field is always
padded to whole bytes, setting the most significant bits to zero.
@author Eric Farng
@version $Revision: 1.3 $