This is a more subjective function than the previous ones. It allows the user to say how much he wants to increase/decrease the volume on each channel while 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. If the volume peak levels are known then this could be described with the 'Peak volume right' and 'Peak volume left' field. If Peakvolume is not known these fields could be left zeroed or, if no other data follows, be completely omitted. There may only be one "RVAD" frame in each tag.
<Header for 'Relative volume adjustment', ID: "RVAD"> | |
Increment/decrement | %00xxxxxx |
Bits used for volume descr. | $xx |
Relative volume change, right | $xx xx (xx ...) |
Relative volume change, left | $xx xx (xx ...) |
Peak volume right | $xx xx (xx ...) |
Peak volume left | $xx xx (xx ...) |
In the increment/decrement field bit 0 is used to indicate the right channel and bit 1 is used to indicate the left channel. 1 is increment and 0 is decrement.
The 'bits used for volume description' field is normally $10 (16 bits) for MPEG 2 layer I, II and III and MPEG 2.5. This value may not be $00. The volume is always represented with whole bytes, padded in the beginning (highest bits) when 'bits used for volume description' is not a multiple of eight.
This datablock is then optionally followed by a volume definition for the left and right back channels. If this information is appended to the frame the first two channels will be treated as front channels. In the increment/decrement field bit 2 is used to indicate the right back channel and bit 3 for the left back channel.
Relative volume change, right back | $xx xx (xx ...) |
Relative volume change, left back | $xx xx (xx ...) |
Peak volume right back | $xx xx (xx ...) |
Peak volume left back | $xx xx (xx ...) |
If the center channel adjustment is present the following is appended to the existing frame, after the left and right back channels. The center channel is represented by bit 4 in the increase/decrease field.
Relative volume change, center | $xx xx (xx ...) |
Peak volume center | $xx xx (xx ...) |
If the bass channel adjustment is present the following is appended to the existing frame, after the center channel. The bass channel is represented by bit 5 in the increase/decrease field.
Relative volume change, bass | $xx xx (xx ...) |
Peak volume bass | $xx xx (xx ...) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|