Click here to return to the ADI Algorithms page
The Loudness (Low and High) External Control block like the Loundess (Low and High) block enhances the perceived loudness of a signal by raising the bass (<60 Hz) and the treble (>7kHz) level. Unlike the Loundess (Low and High) block, the loudness level parameter of the Loudness (Low and High) External Control block is controlled by an external signal instead of a volume slider.
The boost values are derived from the well-known equal-loudness curves of Fletcher and Munson and others. This research revealed that at low levels, lows and highs need to be considerably louder in order for the tonal balance to sound correctly proportioned and the overall sound to have the same apparent loudness to the human ear. Note that this algorithm is fixed, not dynamic: it assumes the input level is constant.
External Control Pin:
The external control pin is used to set the loudness volume parameter for the algorithm. This should be a 5.23 value between 0.0 and 1.0 which represents the desired volume (for example 0.5 for a level of -6dB). This controls the output volume of the entire block, and more importantly, it is also sets the threshold for the loudness algorithm. At low levels, the loudness algorithm boosts the low frequencies somewhat more than it does the high frequencies. For a control input of 1.0 (0dB), no matter what the input level is, there is no boost, LF or HF (See the Loundess (Low and High) level slider as it performs a similar function).
Note: The example below can be used to test the algorithm's functionality, but it is for demonstration purposes only. See below for a practical design example.
selection bewteen General first order filter and Butter worth first order filter.
The following example shows how a rotary encoder could be used to control the loudness level.