Matlab for generating original, lpc, and residual spectra.
%lpc
order = fs/1000 + 5; % order
xlpc = lpc(xw, order)'; % coefficients
%windowed speech frequency response
zpf = 3; Nfft = 2^nextpow2(N*zpf);
XW = fft(xw, Nfft);
% lpc spectrum
[H,w] = freqz(1, xlpc, Nfft, 'whole');
%inverse filter to obtain residual
E = XW./H;
e = real(ifft(E));
Figure 3:
LPC Analysis Results for vowel 'a'.
|
``Music 270a: Signal Analysis''
by Tamara Smyth,
Department of Music, University of California, San Diego.
Download PDF version (analysis.pdf)
Download compressed PostScript version (analysis.ps.gz)
Download PDF `4 up' version (analysis_4up.pdf)
Download compressed PostScript `4 up' version (analysis_4up.ps.gz)
Copyright © 2019-12-02 by Tamara Smyth.
Please email errata, comments, and suggestions to Tamara Smyth<trsmyth@ucsd.edu>