DC offset removal using basic arithmetic elements
Illustrates the use of the Average Value block to determine the arithmetic moving average ("DC offset") of the audio signal
(note that a DC offset has been artificially added to the WAV input for illustrative purposes). The output of the Average
Value block is then used to construct a compensating DC offset which is subtracted from the original signal via the
Plus-Minus Summer block. The end result is an audio signal with approximately zero DC offset.
View the "Simple Control Displays" to compare the end result with the original.
Although a constant DC offset is not audible, abrupt changes in the DC offset (which can be caused unintentionally by
digital signal processing algorithms) can lead to audible clicks. It is therefore generally advisable to remove the DC offset
from any audio signal.