- Dsp Homework 3 Spectrogram Of An Audio Signal Write A Code That Generates Spectrogram Of A Given 1d Audio Signal Full 1 (87.88 KiB) Viewed 38 times
DSP Homework 3: Spectrogram of an Audio Signal Write a code that generates spectrogram of a given 1D audio signal. Full
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
DSP Homework 3: Spectrogram of an Audio Signal Write a code that generates spectrogram of a given 1D audio signal. Full
DSP Homework 3: Spectrogram of an Audio Signal Write a code that generates spectrogram of a given 1D audio signal. Full specification of the homework is given as follows: ● User Input: Window Length (L) ● Function Output: Frequency-Time Plot (Spectrogram) 700 600 500 400 300 200 -200 0 200 1200 400 600 800 1000 Time (msec) Figure 1. Spectrogram of an audio signal Please apply the following steps: 1) Write a codes that compute spectrogram from scratch. Divide the signal into %50 overlapping time segments, and for each time segment apply the FFT with windowing. You can use "fft" built-in functions here (40 points), Example: F = spectrogram (A,L); % The function takes 1D signal, window length L and return its % spectrogram 2) Apply it to the audio signals shared named "Audio 1" and "Audio 2". Show the spectrograms in two different figures. In this step, select the window size as 500 (20 points). 3) Please comment the differences between these signals. Why did we use windowing process here? (20 points), 4) Change the window size to 50 and 200 and compare the spectrogram results of them. Please report how the window size affects the results. (20 points) Frequency (Hz) 1400