Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
Matlab:Speech Signal Analysis
Speech Signal AnalysisSpeech signal processing refers to the manipulation, acquisition, storage, transfer and output of vocal output by a computing machine.
Fundamental Frequency estimation – frequency domainThe following a sample code for fundamental frequency estimation:
Fundamental Frequency estimation - frequency domain
Fundamental Frequency estimation - frequency domainTo search for the index of the peak in the cepstrum between 1 and 20ms, and then convert back to hertz, use:[c,fx]=max(abs(C(ms1:ms20)));fprintf('Fx=%gHz',fs/(ms1+fx-1));
Fundamental Frequency estimation - time domainThis code plots the autocorrelation function for a section of speech signal:
Fundamental Frequency estimation - time domainms2=fs/500                 % maximum speech Fx at 500Hz
ms20=fs/50                 % minimum speech Fx at 50Hz
r=r(ms20+1:2*ms20+1)
[rmax,tx]=max(r(ms2:ms20))
fprintf('rmax=%g Fx=%gHz',rmax,fs/(ms2+tx-1));Fundamental Frequency estimation - time domain
Foramant Frequency EstimationFormant frequency estimation is demonstrated  by using LPC to find the best IIR filter from a section of speech signal and then plotting the filter's frequency response.
Foramant Frequency EstimationFormant frequency estimation is demonstrated  by using LPC to find the best IIR filter from a section of speech signal and then plotting the filter's frequency response.

More Related Content

Matlab: Speech Signal Analysis