• Save
Matlab: Speech Signal Analysis
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Matlab: Speech Signal Analysis

on

  • 4,348 views

Using matlab for Speech Signal Analysis

Using matlab for Speech Signal Analysis

Statistics

Views

Total Views
4,348
Views on SlideShare
4,286
Embed Views
62

Actions

Likes
2
Downloads
0
Comments
0

3 Embeds 62

http://www.dataminingtools.net 33
http://dataminingtools.net 19
http://www.slideshare.net 10

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Matlab: Speech Signal Analysis Presentation Transcript

  • 1. Matlab:Speech Signal Analysis
  • 2. Speech Signal Analysis
    Speech signal processing refers to the manipulation, acquisition, storage, transfer and output of vocal output by a computing machine.
  • 3. Fundamental Frequency estimation – frequency domain
    The following a sample code for fundamental frequency estimation:
  • 4. Fundamental Frequency estimation - frequency domain
  • 5. 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('Fx=%gHz ',fs/(ms1+fx-1));
  • 6. Fundamental Frequency estimation - time domain
    This code plots the autocorrelation function for a section of speech signal:
  • 7. Fundamental Frequency estimation - time domain
    • ms2=fs/500                 % maximum speech Fx at 500Hz
    • 8. ms20=fs/50                 % minimum speech Fx at 50Hz
    • 9. r=r(ms20+1:2*ms20+1)
    • 10. [rmax,tx]=max(r(ms2:ms20))
    • 11. fprintf('rmax=%g Fx=%gHz ',rmax,fs/(ms2+tx-1));
  • Fundamental Frequency estimation - time domain
  • 12. 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's frequency response.
  • 13. 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's frequency response.
  • 14. Foramant Frequency Estimation
    r=roots(a);              
    r=r(imag(r)>0.01);      
    ffreq=sort(atan2(imag(r),real(r))*fs/(2*pi)); for i=1:length(ffreq)
        fprintf('Formant %d Frequency %.1f ',i,ffreq(i));
    end
  • 15. Speech Signal Analysis
    References:
    http://www.phon.ucl.ac.uk/courses/spsci/matlab
  • 16. 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