(MATLAB Exercise) Write a MATLAB program to do the following: Accept an arbitrary speech filename of a speech file in .wav format, i.e., filename. wav, and load the file using the MATLAB wavread...


(MATLAB Exercise) Write a MATLAB program to do the following:


Accept an arbitrary speech filename of a speech file in .wav format, i.e., filename. wav, and load the file using the MATLAB wavread command).


Listen to the speech file using the MATLAB sound command. (Pay attention to the required scaling for the speech file.) Write down the sentence you heard.


Plot N sample values of the speech file (using appropriate MATLAB plot commands), starting at sample fstart and ending with sample fstart+N-1. Plot M samples of speech per line, with up to four lines of plotting per page. The plotting parameters fstart, M, and N should all be specified at run time (i.e., they should be read into the program).


Use the file s5.wav that is available on the book website as your speech test file, and use a value of fstart=2000 and values of M and N that are equivalent to plotting 100 msec of speech per line and a total of N=22000 samples of speech being plotted. (It should be clear that the values chosen for M and N depend on the sampling rate, Fs, of the speech file.)



Jan 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here