Audio Equalizer
EGCP 371 - Signals and Systems
Group 4:Omar Garcia, Hovaness Karamanian, Eduardo Lopez, Peter Ottens
Introduction
Low Pass Filter
High Pass Filter
What we did/ Our approach
Code Challenges
Code
Audio files:
Code
This code writes a .wav audio file to an array. Then a lowpass or highpass filter is applied to the signal. In order to see the effects these have on the signal fourier is used to find the frequency domain of the signal. This will show you visually what frequencies have been cut from the original. The new fft arrays are then cut to remove reflections and focus the majority of frequencies used.
Code
This code displays the plots showing the fourier transform of the original and with a lowpass or highpass filter applied to it.
Additionally commented out is code to generate an audio file with a filter applied to it.
Results / Discoveries
The original signal has a large amount of low frequencies so most other frequencies are dwarfed by it
The lowpass filter cuts higher frequencies on the plot you can see it flattens the tail.
The highpass filter cuts lower frequencies so by removing some of the most common frequencies you can see the other frequencies more prominently.
Results / Discoveries
Results / Discoveries
Results / Discoveries
Other examples:
Results / Discoveries
Other examples:
What we learned/ Conclusion
References
“Audio Signal Processing in MATLAB.” Section, https://www.section.io/engineering-education/audio-signals-processing-using-matlab/.
“Fast Fourier Transform.” Fast Fourier Transform - MATLAB, https://www.mathworks.com/help/matlab/ref/fft.html.
“How Can I Get Proper Length of FFT.” How Can I Get Proper Length of FFT -, Mathworks, https://www.mathworks.com/matlabcentral/answers/435508-how-can-i-get-proper-length-of-fft.
“Low-Pass Filter.” MATLAB & Simulink, https://www.mathworks.com/discovery/low-pass-filter.html.
“Design Parametric Equalizer.” Design Parametric Equalizer - MATLAB, Mathworks, https://www.mathworks.com/help/audio/ref/designparameq.html.
“Highpass-Filter Signals.” Highpass-Filter Signals - MATLAB, Mathworks, https://www.mathworks.com/help/signal/ref/highpass.html.
“Lowpass-Filter Signals.” Lowpass-Filter Signals - MATLAB, Mathworks, https://www.mathworks.com/help/signal/ref/lowpass.html.