Audio Project
Audio Project
Audio Project
On
Audio Equalizer Using FIR Filter
Submitted By:
Chetanya Katara (20215072)
Deepshikha Dharkrey (20215015)
Daksh Agrawal (20215070)
Deepanshu Rajput (20215042)
ECE-A(II)
B.Tech (VI SEM)
DIGITAL SIGNAL PROCESSING (LAB) (EC-1651)
Session-2024
Under the guidance of:
Dr. Dharmendra Dixit
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
MOTILAL NEHRU NATIONAL INSTITUTE OF TECHNOLOGY, ALLAHABAD
PRAYAGRAJ-211004, INDIA
Project Statement
Make a software audio equalizer with the following frequency bands
[0 – 200 Hz], [200 Hz – 400 Hz], [400 Hz – 800 Hz], [800 Hz – 1.5 kHz], [1.5 kHz – 3 kHz],
[3 kHz –5kHz], [5 kHz – 7 kHz], [7 kHz – 10 kHz], [10 kHz – 15 kHz], [15 kHz – 20 kHz]
2.CREATED FUNCTIONS:
• stop, play , pause , resume , pop , reggae , rock , techno , classical ,
party, browse .
THEORY :
1. AUDIO EQUALIZATION
It is a process to deliberately alter the tonal quality of audio passing through it. It does this
by using a number of filter circuits, which are capable of applying gain to audio signals
within specific frequency ranges — both positive gain, referred to a 'boost', and negative
the portion of the signal present in its own frequency range or band. The amplitude
passed by each filter is adjusted using a slide control to boost or cut frequency
b. Parametric Equalizer
Parametric equalizers are multi-band variable equalizers which allow users to
control the three primary parameters: amplitude, center frequency and bandwidth.
The amplitude of each band can be controlled, and the center frequency can be
Firstly, a graphical overview of the required equalizer is designed with appropriate buttons,
sliders and axes placements.
1. Push buttons:-
2. Panel:-
Process, Play Sound and Reset Gains options are grouped into an ‘Option’ panel for
user accessibility.
3. Sliders
10 different sliders with required cutoff frequencies are placed which can be changed by
user in real time.
4. Static Text
Few static texts are introduces such as ‘Select, Frequencies, -20dB and 20dB’. These texts
can’t be edited in run-time.
5. Edit Texts
When users vary the gain of the sliders, the gain values appear in the edit text gadget
below each slider. Also, when user select the audio file from computer it’s path also appear
in an edit text box.
6. Tools
Following tools are added in tool bar:
Now when all the desired buttons are set, click play or Run Fig to see layout.
3. M-file editing
Now click on open editor to see m-file related to the project. Audio_equalizer_sidra.m
contains a variety of functions related to sliders, push button, edit text buttons etc
Functions which are edited are shown below:
1) Browsing function
Figure 6 Browsing
% --- Executes on button press in Browse.
function pushbutton1_Callback(hObject,eventdata,handles)
[filename,pathname]=uigetfile({'*.wav'},'FileSelector');
set(handles.textt,'String',handles.fullpathname);
guidata(hObject, handles);
end
2) Processing Function
This function reads and plots the sound wave as shown below:
This function scrolling of slides of the sound wave and create objects as
shown below:-
% --- Executes on slider movement and object creation.
function slider15_Callback(hObject, eventdata, handles)
% hObject handle to slider15 (see GCBO)
% eventdata reserved - to be defined in a future version
of MATLAB
% handles structure with handles and user data (see
GUIDATA)
set(handles.text16, 'String',g1);
set(handles.text19, 'String',g2);
set(handles.text20, 'String',g3);
set(handles.text21, 'String',g4);
set(handles.text22, 'String',g5);
set(handles.text23, 'String',g6);
set(handles.text24, 'String',g7);
set(handles.text25, 'String',g8);
set(handles.text26, 'String',g9);
set(handles.text27, 'String',g10);
OUTCOME OF THE PROJECT:
Here are some common outcomes of the project:
1) Graphical User Interface (GUI): A user-friendly interface that allows users
to interact with the equalizer. This GUI might include sliders, knobs, or other
controls for adjusting the audio frequency bands.
PRACTICAL APPLICATION:
The practical applications of an audio equalizer project are diverse and can
span across various industries, enhancing user experiences.
2) BROADCASTING: Equalizers are used to modify voice clarity and overall sound
quality, ensuring that broadcasts are clear and pleasant to listen to.