Like this presentation? Why not share!

Matlab: Speech Signal Analysis

on Jan 08, 2010

• 14,419 views

Matlab: Speech Signal Analysis

Matlab: Speech Signal Analysis

Views

Total Views
14,419
Views on SlideShare
14,375
Embed Views
44

Likes
5
0
2

4 Embeds44

 http://www.slideshare.net 41 http://dataminingtools.net 1 http://www.dataminingtools.net 1 https://twitter.com 1

Report content

12 of 2 previous next

• Comment goes here.
Are you sure you want to
• could you send me this ppt on my mail please..because it helps me to our project work
Are you sure you want to
• 感謝，更多的MATLAB源代碼到下面鏈接
http://pecworld.zxq.net/Persian/Webpage/Training/MATLAB/List.html
Are you sure you want to

Matlab: Speech Signal AnalysisPresentation Transcript

• Matlab:Speech Signal Analysis
• Speech Signal Analysis
Speech signal processing refers to the manipulation, acquisition, storage, transfer and output of vocal output by a computing machine.
• Fundamental Frequency estimation – frequency domain
The following a sample code for fundamental frequency estimation:
• Fundamental Frequency estimation - frequency domain
• Fundamental Frequency estimation - frequency domain
To 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(&apos;Fx=%gHz &apos;,fs/(ms1+fx-1));
• Fundamental Frequency estimation - time domain
This code plots the autocorrelation function for a section of speech signal:
• Fundamental Frequency estimation - time domain
• ms2=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 Estimation
Formant frequency estimation is demonstrated by using LPC to find the best IIR filter from a section of speech signal and then plotting the filter&apos;s frequency response.
• Foramant Frequency Estimation
Formant frequency estimation is demonstrated by using LPC to find the best IIR filter from a section of speech signal and then plotting the filter&apos;s frequency response.
• Foramant Frequency Estimation
r=roots(a);
r=r(imag(r)&gt;0.01);
ffreq=sort(atan2(imag(r),real(r))*fs/(2*pi)); for i=1:length(ffreq)
fprintf(&apos;Formant %d Frequency %.1f &apos;,i,ffreq(i));
end
• Speech Signal Analysis
References:
http://www.phon.ucl.ac.uk/courses/spsci/matlab
• Visit more self help tutorials
Pick a tutorial of your choice and browse through it at your own pace.
The tutorials section is free, self-guiding and will not involve any additional support.
Visit us at www.dataminingtools.net