LPC spectra estimate |
LPC spectra estimate |
Feb 6 2009, 03:26
Post
#1
|
|
|
Group: Members Posts: 99 Joined: 2-August 07 From: Shanghai,China Member No.: 45817 |
LPC spectra should correspond with the envelope of DFT spectra.
I plot LPC spectra with matlab. The LPC spectra keep the same shape with the envelope of DFT spectra. But it is larger with a offset than the DFT envelope. Why? Where it go wrong? Here is the matlab script which illustrate it. N = 2560; [x,fs] = wavread('lpc.wav',N); % any speech signal can be used p=12; a = lpc(x,p); X =fft(x); X = X(1:N/2+1)'; X = 10*log10(abs(X).^2); Z = fft(a,N); Z = 1./Z(1:N/2+1); Z = 10*log10(abs(Z).^2); figure; plot(X'); hold on; plot(Z,'r'); grid; offset = 10; figure; plot(X+offset); hold on; plot(Z,'r'); grid; |
|
|
|
![]() |
Feb 7 2009, 00:10
Post
#2
|
|
![]() Group: Developer Posts: 1317 Joined: 20-March 04 From: Göttingen (DE) Member No.: 12875 |
LPC spectra should correspond with the envelope of DFT spectra. I plot LPC spectra with matlab. The LPC spectra keep the same shape with the envelope of DFT spectra. But it is larger with a offset than the DFT envelope. Why? Where it go wrong? What you call "LPC spectra" (by which you probably mean the LPC synthesis filter response) is independent of the input signal's level. If I remember correctly Matlab's LPC function can return more than the set of filter coefficients -- one of those return values gives you a hint about the scaling of the input. Cheers! SG |
|
|
|
hyeewang LPC spectra estimate Feb 6 2009, 03:26
hyeewang QUOTE (SebastianG @ Feb 7 2009, 07:10) QU... Feb 7 2009, 03:26
hyeewang QUOTE (hyeewang @ Feb 7 2009, 10:26) QUOT... Feb 7 2009, 15:51
SebastianG QUOTE (hyeewang @ Feb 7 2009, 15:51) QUOT... Feb 7 2009, 16:54
hyeewang QUOTE (SebastianG @ Feb 7 2009, 23:54) QU... Feb 8 2009, 02:58
SebastianG QUOTE (hyeewang @ Feb 8 2009, 02:58) but ... Feb 10 2009, 09:44
hyeewang QUOTE (SebastianG @ Feb 10 2009, 16:44) Q... Feb 11 2009, 04:17
SebastianG QUOTE (hyeewang @ Feb 11 2009, 04:17) QUO... Feb 11 2009, 10:30
hyeewang QUOTE (SebastianG @ Feb 11 2009, 17:30) Q... Feb 11 2009, 14:25
SebastianG QUOTE (hyeewang @ Feb 11 2009, 14:25) Ind... Feb 11 2009, 17:05
hyeewang QUOTE (SebastianG @ Feb 12 2009, 00:05) Q... Feb 12 2009, 02:45
SebastianG QUOTE (hyeewang @ Feb 12 2009, 02:45) But... Feb 12 2009, 13:41
hyeewang QUOTE (SebastianG @ Feb 12 2009, 20:41) Q... Feb 18 2009, 10:17
SebastianG QUOTE (hyeewang @ Feb 18 2009, 10:17) You... Feb 18 2009, 22:44
simoala007 Hello i have got a question regarding LPC theory:
... Feb 18 2012, 23:33
xiedanhui QUOTE (simoala007 @ Feb 19 2012, 06:33) H... Mar 7 2012, 10:08![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 07:04 |