Low-Pass Filtering of Speech Signals Project: Tasks
Low-Pass Filtering of Speech Signals Project: Tasks
Low-Pass Filtering of Speech Signals Project: Tasks
Tasks:
Spectrogram Analysis of Speech
1. Speak, digitize, and record the words see and ooh as separate utterances. Sample at rates of 16,000 Hz and of 8000 Hz. Do this twice for each of the two utterances. 2. Compute spectrograms. Use 40 msec. windows taken at intervals of 10 msec., i.e., they overlap 30 msec. Use both rectangular and raised cosine windows, i.e., Hanning windows. Use the FFT for computing the spectrogram. Compute the spectrograms for each of the four utterances. 3. Compare the spectrograms for the two utterances of the same word. What is the percentage variation in the energy in each spectral component of the FFT? 4. Average the energies in two adjacent spectral components and in 4 adjacent spectral components in each utterance. Now what is the percentage variation in the energy of these wider spectral bins? What can you say about the relation between spectral resolution and spectral energy stability, and why does this happen? 5. 6. 7. 8. What is the width of the measured frequency bins? Explain. What are the FFT spectral components measuring in regard to the original speech signal? Roughly what is the frequency range of the utterances. Explain! Explain why the energies in corresponding spectral components in the 8000 Hz and 16,000 Hz sampled signals are different, and make a rough calculation to account for the size of this difference.
Once you have recording tools, plug them into your pc. There is a sound recorder program in Microsoft Windows (2000 or XP). You can record your utterances as follows:
1) Go to Start-Programs-Accessories-Entertainment, 2) Open "Sound Recorder" program, 3) Record your utterances, 4) Save them using File - Save As option. It will save the file as a *.wav file . You can change the sampling rate of your recording using "Change" button in this "Save As" window.
To read your recordings saved as *.wav files into a Matlab file, you can use Matlab's "wavread" function. To learn more about it, type "help wavread" in Matlab.
To listen to them in Matlab, you can use "soundsc" function in matlab which plays the sound. To learn more about it, type "help soundsc" in Matlab.
Some of the other functions in Matlab that will be useful for this project are:
Important: There is also "specgram" function in Matlab. You are not supposed to do things in your project with this function. But you can always use it to double-check your results.