70 likes | 159 Views
EE599-020 Audio Signals and Systems. Linear Prediction Kevin D. Donohue Electrical and Computer Engineering University of Kentucky. Related Web Sites.
E N D
EE599-020Audio Signals and Systems Linear Prediction Kevin D. DonohueElectrical and Computer EngineeringUniversity of Kentucky
Related Web Sites Linear Prediction Coding (LPC) has been a popular modeling, analysis and synthesis tool for speech the 1970’s. Many web sites are devoted to education and research in this area. A general search of Linear Prediction … will turn up many interesting web sites. A few examples are given below: http://www.otolith.com/pub/u/howitt/lpc.tutorial.html http://www.dcs.shef.ac.uk/~martin/MAD/lpcspect/lpcspect.htm http://www.speex.org/manual/node8.html
LPC Derivation Derive an algorithm to compute LPC coefficients from a stream of data that minimizes the mean squared prediction error. Let be the sequence of data points and be the m-th order LPC coefficients, and be the prediction estimate. The mean squared error for the prediction is given by:
LPC Computation The LPC coefficients can be computed from the following matrix equation: where
Autocorrelation and LPC Define the autocorrelation of a sequence as: Note that the LPC coefficients are computed from the autocorrelation coefficients: Autocorrelation Matrix
Autocorrelation Examples Compute examples of the the autocorrelation of white noise. What should it be theoretically? What should LPC coefficients of white noise look like? Estimate the pitch (periodicity) of a guitar note using its autocorrelation. Examine the prediction error as a function of increasing order for the bell sound. What should the best order be based on the graph? What should the best order be based on the Akaike Information Criterion (AIC). Could this order be predicted from looking at the autocorrelation function?
Homework (1) a) Prove that the DFT of autocorrelation of a sequence is equal to its magnitude spectrum squared. b) Compute the Autocorrelation for the piano sound. Examine the prediction error as a function of increasing order for the piano sound. What should the best order be based on the graph? What is the best order based on the Akaike Information Criterion (AIC).