42
The volume is adjustable by downloading a 4.20 gain coefficient through the I2C interface to register (04h). Table A4
in the Appendix lists the 4.20 coefficient values for 0.5-dB volume steps for the range of –70 dB to 18 dB. However,
positive 4.20 values other than those listed in Table A4 are allowed.
Right and left channel volumes can be unganged and set to different values to implement balance control.
4.3.2
Software Soft Mute
Mute is implemented by loading all zeros in the volume control register. This causes the volume to ramp down
automatically over a maximum of 2048 samples to a final output of zero (–
∞ dB).
4.4
Tone Controls
4.4.1
Treble Control
The treble gain level may be adjusted within the range of 18 dB to –18 dB with 0.5 dB step resolution. The level
changes are accomplished by downloading the one byte treble control codes into the treble control register (05h).
The bass control codes are shown in Table A5.
4.4.2
Bass Control
The bass gain level may be adjusted within the range of 18 dB to –18 dB with 0.5 dB step resolution. The level changes
are accomplished by downloading the one byte bass control codes into the bass control register (06h). The treble
control codes are shown in Table A6.
4.4.3
Frequency Dependence of Treble and Bass Controls
The bass and treble controls are based upon fixed filter coefficients. The coefficients define a response that is a based
upon the data sample rate. As a result, if the sample rate is increased or decreased by a factor, the filter frequency
response will increase or decrease in frequency by an equal factor. Table 41 and Table 42 show the relationship
between the sample frequency and corner frequency for the bass and treble controls.
Table 41. Bass Control Corner Frequencies
Sampling Rate
32,000
44,100
48,000
96,000
Corner Frequency
72.6
100.0
108.8
217.7
Table 42. Treble Control Corner Frequencies
Sampling Rate
32,000
44,100
48,000
96,000
Corner Frequency
7,256
10,000
10,884
21,769