Stereo bass boost with delay.
Another example of the use of multirate signal processing to achieve efficient filtering over wide frequency ranges. In this
example, successive downsampling is used to reduce the sample rate by a factor of 16. Then, a delay followed by
a low-pass IIR filter is used to shape the bass response before up-sampling again. This enables precise control of the
bass response since the low-pass filter is running at 5kHz (instead of 44kHz) and the filter can be rather elaborate without
excessive computational expense. Try experimenting with the parameters of the delay and the IIR low-pass block to
appreciate the effect of different filter designs. By setting the delay of the left and right channels to be slightly different,
the stereo field is enhanced. Try replacing the delay and IIR low-pass blocks with any other desired
effect(s).
(Note: the 2-pole low-pass filters are used to further suppress aliasing/imaging before/after the down/up samplers)