Overview
A loudspeaker converts sound from its electric form to an audible form. In doing so it introduces notable distortions (in both magnitude and phase) in the sound thus leading to poor sound quality. Under the assumption that the speaker behaves somewhat linearly, loudspeaker equalization has been developed to deal with such distortions and minimize them to a great extent. Loudspeaker equalization involves processing and correcting the frequency response of a loudspeaker so that the spectrum of the resulting output is close to the spectrum of the input. One way to implement loudspeaker equalization is to use MATLAB fir design tools and the TI 3245 EVM which has a built in FIR filter.
To find the frequency response of a speaker one can play white noise through the loudspeaker and record it onto a computer. The recording is then processed in MATLAB with the attached code to generate a frequency response of the white noise. Next invert the frequency response to find an ideal inverse filter to correct for the distortion of the speaker and give the system an overall flat frequency response. Finally use MATLAB’s fir2 design tool to create a length 64 fir filter which we can be implemented onto the TI chip.
![]() |
Objectives:
1. Find an accurate frequency response for the loudspeaker.
2. Invert this frequency response to get the inverse filter.
3. Implement it on the chip.
4. Verify the speaker sounds better.





