Thread: Speech coding, detecting pitch

  1. #1
    Registered User subdene's Avatar
    Join Date
    Jan 2002
    Posts
    367

    Speech coding, detecting pitch

    Hello,

    I have been trying to write a pitch detector within C++ for voiced speech. I currently get the sample speech, apply centre clipping for the entire speech data, and then calculate all the peaks. However, I am not sure whether I need to split the data into frames, and then apply a hamming window for example on each frame. Is this necessary? All of this is done within the time domain. Additionally, I wanted to use autocorrelation for determining the pitch period, and whether or not a pitch was a glottal pitch. All the examples of autocorrelation that I have seen use something called a lag, but they never explain how to compute this lag.

    So is it necessary to use frame and windowing? And
    How should I calculate the glottal period from the other peaks?

    Thanks in advance for any advice….. Sub.
    Be a leader and not a follower.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    http://www.google.com/search?hl=en&q...=Google+Search
    You probably want "Fast Fourier Transform" as well, since it seems to me at least that all things in signal processing eventually need it.

  3. #3
    Registered User subdene's Avatar
    Join Date
    Jan 2002
    Posts
    367
    Hi salem, finally managed to do pitch detection within the the time domain, with no ffts, and it identifies the glotal periods. I am so happy! Took me ages to do it as well
    Be a leader and not a follower.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 03-20-2009, 05:22 PM
  2. LNK2001 ERROR!!! need help
    By lifeafterdeath in forum C++ Programming
    Replies: 7
    Last Post: 05-27-2008, 05:05 PM
  3. Coding Guideline ....!!
    By imfeelingfortun in forum Tech Board
    Replies: 8
    Last Post: 10-08-2006, 07:09 AM
  4. Open Source I.B.M. Speech Recognition Software
    By hk_mp5kpdw in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 09-13-2004, 05:28 PM
  5. Coding Contest....
    By Koshare in forum A Brief History of Cprogramming.com
    Replies: 46
    Last Post: 10-14-2001, 04:32 PM