As seen in comment link a pitch by Talkin’s Robust Algorithm for Pitch Tracking in voicebox (function name is "fxrapt") is extracted.
http://www.ee.ic.ac.uk/hp/staff/dmb/voicebox/doc/voicebox/fxrapt.html
However, I need to find pitch pulses in the LP error signal by detecting the maximum amplitude within each pitch period. For each pitch pulse, a Hamming window of two pitch periods long. if T(i-1), T(i), T(i+1) denote the locations of three successive pitch pulses. How can I design a analysis window for the pitch pulse at spans from T(i-1) to T(i+1), as illustrated in bellow link Figure ?
I am looking for MATLAB code for it. I will really appreciate, if anyone can help me. Thanks.
Steps:
these two steps can be done like this:
you now have all marks referring to your entire signal, then walk around the vector marks to aplly a Hamming window of two pitch periods long !
PS:
x = your signal
Nsamples = length(x)
k = begins with 1
Step = 256 or 512 or 1024 or 2048