How to calculate residual LP (linear prediction) signal of an audio signal ?
8 views (last 30 days)
Show older comments
Hi, I have a problem in calculating the residual of linear prediction. I have an audio signal sampled at 8kHz obtained through the audioread function:
[y,Fs] = audioread('file.wav');
I need to process this signal in blocks of 20 ms with a shift of 10 ms and for each of them calculate the LP coefficients using the matlab function lpc and create a time-varying inverse filter using the previously calculated coefficients to obtain the LP residual signal. How can I proceed?
Thanks for the help.
0 Comments
Answers (1)
Aditya Shah
on 11 Oct 2022
Hi!
Refer to the following documentation which shows the implementation of LPC analysis and synthesis (LPC coding) of a speech signal:
In the analysis section, it explains how to extract the reflection coefficients from the signal and use it to compute the residual signal.
Additionally, also refer to the following documentation for more information about the Linear prediction filter:
0 Comments
See Also
Categories
Find more on Linear Prediction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!