Using Cepstrum for PDA
Posted
by CziX
on Stack Overflow
See other posts from Stack Overflow
or by CziX
Published on 2010-05-07T19:16:57Z
Indexed on
2010/05/08
7:38 UTC
Read the original article
Hit count: 365
matlab
|signal-processing
Hey, I am currently deleveloping a algorithm to decide wheather or not a frame is voiced or unvoiced. I am trying to use the Cepstrum to discriminate between these two situations. I use MATLAB for my implementation.
I have some problems, saying something generally about the frame, but my currently implementation looks like (I'm award of the MATLAB has the function rceps, but this haven't worked for either):
ceps = abs(ifft(log10(abs(fft(frame.*window')).^2+eps)));
Can anybody give me a small demo, that will convert the frame to the power cepstrum, so a single lollipop at the pitch frequency. For instance use this code to generate the frequency.
fs = 8000;
timelength = 25e-3;
freq = 500;
k = 0:1/fs:timelength-(1/fs);
s = 0.8*sin(2*pi*freq*k);
Thanks.
© Stack Overflow or respective owner