Question: Create a program in Matlab that loads an audio signal in 'wav' format and calculates and plots spectrogram of the signal. The input to the

 Create a program in Matlab that loads an audio signal in

Create a program in Matlab that loads an audio signal in 'wav' format and calculates and plots spectrogram of the signal. The input to the function should be the name of the .wav file and the pa- rameters needed for calculating the spectrogram (i.e., frame length, frame shift, and window type). The output should be the calculated spectrogram (as a 2D array) You can read sample values of an audio signal stored in "wav' format into a 1-D array using the function 'audioread'. You can use Matlab function fft to perform the DFT calculations and the 'imagesc' function to plot a 2-D array (spectrogram). You are not allowed to use 'specgram' or any other ready-made spectrogram functions. Create a program in Matlab that loads an audio signal in 'wav' format and calculates and plots spectrogram of the signal. The input to the function should be the name of the .wav file and the pa- rameters needed for calculating the spectrogram (i.e., frame length, frame shift, and window type). The output should be the calculated spectrogram (as a 2D array) You can read sample values of an audio signal stored in "wav' format into a 1-D array using the function 'audioread'. You can use Matlab function fft to perform the DFT calculations and the 'imagesc' function to plot a 2-D array (spectrogram). You are not allowed to use 'specgram' or any other ready-made spectrogram functions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!