# Questions tagged [linear-prediction]

The tag has no usage guidance.

50 questions
Filter by
Sorted by
Tagged with
14 views

### Computing Speech Signal Energy for the TMS5220

I am writing a C++ program that performs LPC analysis on speech data and then compresses it in a format acceptable to the TMS5220 Voice Synthesis Processor. During LPC analysis, I compute the energy ...
1 vote
31 views

### How were the coefficients for polynomial linear predictive coding derived?

FLAC uses linear predictive coding (LPC) as one of its central compression steps. While it allows for arbitrary LPC coefficients in the "FIR Linear prediction" subframe compression type, ...
14 views

### Predicting at différents steps

Let an autoregressive filter, with time step $T$ seconds, model a pink noise. Raw data is available at $f >> 1/T$. The model is trained on data undersampled and locally averaged (using a sliding ...
1 vote
29 views

### Strange result in simple LPC simulation of a sinus

I'm trying to understand how Matlab LPC function works. So I made a little example script : I generate a real cosinus, calculate the LPC coefficients of this signal and then I try to predict the ...
1 vote
37 views

### Can Goodness-of-fit increase while noise also increases?

I saw a tweet with a good slide. It has a Goodness-of-fit curve that goes up with Model Complexity. There is a Generalizability curve. Noise is cited as the difference between the GOF and ...
144 views

### Does the Wiener Filter Achieve the Cramer Rao Lower Bound (CRLB)?

I have been told (Wikipedia agrees) that the Wiener filter is optimal when signal and (additive) noise are WSS. Optimal in the sense that it minimizes the mean-square error. The Cramér–Rao bound is ...
83 views

### How to select the order of LPC to model formants?

I am having some difficulties understanding LPC and speech processing in general. The professor asked us to provide an heuristic way to select the order of LPC? For example if I wanted to model 3 ...
31 views

### What do coeffcients mean from Matlab?

I ask for a brief explanation of each coefficient and their sources of related information. Thank you very much in advance. The coefficients comes from this code below: I've got a robust linear ...
115 views

### Finding the linear prediction coefficients for a sampled sinusoid

I am unable to work my way through this problem - A sinusoid with random phase is given as 𝑦(𝑛) = 2 sin(0.25π𝑛 + 𝜃). If this signal is sampled at 10 KHz, estimate the coefficients of a second ...
192 views

1 vote
850 views

### Division by zero in Levinson–Durbin recursion?

I am doing a LPC analysis of a speech signal using the autocorrelation method. To calculate the LPCs I am using the Levinson–Durbin recursion. In my literature the error is initialized with the first ...
251 views

### Spectral Whitening: Approches

Given the absence of information about the algorithms of spectral whitening functions in software packages: How many ways do you know for doing spectral whitening? What are the differences?
465 views

### pitch extraction for speech

I am building an LPC analysis tool, and am at the point of needing to do pitch period analysis. I was initially interested in using the Gold & Rabiner algorithm for this, and got a hold of a ...
228 views

### Linear Predictive Coding and Block Size

I'm experimenting with linear predictive coding as a low-complexity audio compression method, and I'm observing something very odd. I'm compressing a 20 MB mono 16-bit PCM song in different block ...
151 views

### Is there any relationship between the FFT and linear prediction?

Is there any relationship between the FFT and linear predictive methods? Can an FFT result or the input to an FFT be modified to do non-circular prediction/extrapolation from the FFT results.
143 views

### Adaptive calculations of Wiener filter coefficients

Suppose,I have an input of length of lenght 100. data=[x0...x99]; I take a window of lenght 11 from x0 to x10. windowed data=[x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10], now, I compute 7 wiener coefficients ...
1 vote
1k views

### Adaptive Wiener Filter Coefficients Calculation

I want to extrapolate a signal X of length 11, using the weiner filter coefficients W of length 7. The procedure I am using is as follows: Compute the autocorrelation matrix upto lag 8 . Using ...
1k views

### Derivation of Yule-Walker Equation for LPC

I have derived the Yule-Walker equation as shown below. \begin{align} \hat s(n) &= -\sum_{k=1} ^ p a_k s(n-k)\\ e(n) &= s(n) - \hat s(n) = s(n) + \sum_{k=1}^pa_k s(n-k) \end{align} In order ...
121 views

### Voice sample prediction scheme

I have some telephone voice audio with occasional "blips" in the audio. The blips appear to come from an IP link buried in the PSTN (this is a conceptual explanation, so don't worry about things like ...
364 views

### Linear predictive model convolution

Accidentally asked this question in the general area and was told to ask here, so... I've been trying to develop a lightweight, relatively-fast-to-decode sound compression format for use in my gaming ...