0% found this document useful (0 votes)
12 views2 pages

312 Assignment Task 1

The assignment focuses on analyzing audio signals of the words 'chaar' and 'tiin' using MATLAB, emphasizing Fourier analysis and cross-correlation techniques. Students are required to record audio clips, preprocess the audio, perform Fourier analysis to identify frequency characteristics, and conduct cross-correlation to detect vowel sounds. The final submission must include MATLAB code, a readme file, audio files, relevant plots, and a concise report detailing the process and findings.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views2 pages

312 Assignment Task 1

The assignment focuses on analyzing audio signals of the words 'chaar' and 'tiin' using MATLAB, emphasizing Fourier analysis and cross-correlation techniques. Students are required to record audio clips, preprocess the audio, perform Fourier analysis to identify frequency characteristics, and conduct cross-correlation to detect vowel sounds. The final submission must include MATLAB code, a readme file, audio files, relevant plots, and a concise report detailing the process and findings.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

EECE-312

Digital Signal Processing Laboratory


Assignment task-1
Analyzing Audio Signals of Distinctive Words Using MATLAB

Objective:
This assignment aims to give you an experience with hands-on audio signal processing, Fourier
analysis, and cross-correlation techniques to differentiate between distinct words based on their
frequency characteristics.

You can use any internet sources, tools, resources etc to complete the project. You will be eligible
for bonus marking if you can detect all 9 Bangla digits (check the rubrics at the bottom).

Task Overview:
Record a short audio clip containing two distinct words: "chaar" and "tiin". Analyze the audio signals
in MATLAB to observe their frequency characteristics and differentiate between the words based on
the following methods:
1. Fourier Analysis to extract distinctive frequency components (Fourier coefficient bins as we
have done in class).
2. Cross-Correlation to detect the characteristic vowel sounds "aa" and "ii" within the words.

Steps to follow:

1. Audio Recording
1. Record three audio clips (in MP3 format) where you and your family members distinctly
pronounce the two words "chaar" and "tiin". Ensure the recording is clear and free from
background noise.
2. Save the audio file with an appropriate name in the same folder as your .m file.
2. Preprocessing the Audio
1. Import the audio file into MATLAB using audioread() or any function you want!
2. Extract the two words separately from the audio signal (you may use MATLAB's audio
visualization tools to identify time intervals for each word, by plotting or toolboxes, this is
NOT necessary for the grading).
3. You can also normalize the signal for consistency if you want.
3. Fourier Analysis

1. Apply the Fourier Transform to the signal of each word using the Fast Fourier Transform
(FFT) in MATLAB as done in the class. You can also use the manual method (as we have done
with square wave signal) instead of FFT. Any method will work.
2. Plot the frequency spectrum of both words.
3. Identify the distinctive frequencies corresponding to the vowel sounds "aa" in "chaar" and
"ii" in "tiin".
4. Discuss in your brief report how the observed frequencies differ and how they can be used
to distinguish between the two words.
4. Cross-Correlation Analysis
1. Record two more audios with "aa" and "ii".
2. Perform cross-correlation using MATLAB's xcorr() function to compare:
o The "aa" segment against the words.
o The "ii" segment against the words.
3. Identify peaks in the correlation values and use them to determine which word is being
analyzed.
4. Explain your results, highlighting the higher correlation values observed.
5. Reporting Results

Document following:
o Fourier spectra of each word.
o Key frequencies associated with the vowels "aa" and "ii" (Such as which hertz).
o Cross-correlation plots showing the detected correlations.

Submission Zip file will contain:


1. MATLAB Code: Submit one or multiple script (.m file) containing your entire analysis.
2. Read Me file: You know how to run your script, we do not. Write a small read me script to
tell me which .m file should I run first and how will I load the audio files and so on.
3. Audio Files: All the audios you and your family/friends recorded!
4. Plots: Include all relevant plots (Fourier spectra, cross-correlation results) with proper labels
and legends.
5. Report: Write a concise report (3-6 pages is enough, you can go over but not encouraged)
detailing your process, observations, and conclusions. Include screenshots of key MATLAB
outputs.

Grading Rubrics:

You can use only one method (either Fourier or Cross-Correlation) to do this assignment. If you do
only one, you will be graded 60% on that method instead of 30% and 30%. If you can differentiate
between all 9 Bangla digits, you will be graded the bonus 5%.

Criteria Weight
Audio Recording 10%
Fourier Analysis 30%
Cross-Correlation Analysis 30%
Coding Quality 5%
Report 20%
For all 9 digits 5%

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy