Roos_Umah_Nour

Roos_Umah_Nour - %This program looks at the fft of voiced...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
% %This program looks at the fft of voiced and unvoiced portions of speech % %Reseting the Program clear all; close all; clc; %Reading the file [speech, fs] = wavread('Roos_Umah_Nour.wav'); %Converting the x axis from sample numbers to time x = 1:length(speech); t = x./fs; t %******************************************************* %Plotting the file %******************************************************* figure; plot(t, speech); xlabel('Time (seconds)'); ylabel('Amplitude'); title('Waveform for Joy''s Speech Signal with a Sampling Frequenvy of 16KHZ'); axis([0 max(t) -1 1]); %******************************************************* % %******************************************************* %Displaying voiced and unvoiced speech segments %******************************************************* %Detecting voiced and unvoiced segments based on energy % %Computing the frame-by-frame energy of the signal f_size = 128; len = length(speech); num_F = floor(len/(f_size)); beg =1; en = f_size; for i = 1:num_F
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Roos_Umah_Nour - %This program looks at the fft of voiced...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online