class Lpc
extends java.lang.Object
Constructor and Description |
---|
Lpc() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
autocorr(float[] x,
int x_offset,
int m,
float[] r)
Compute the auto-correlations of windowed speech signal
|
(package private) static void |
az_lsp(float[] a,
int a_offset,
float[] lsp,
float[] old_lsp)
Compute the LSPs from the LP coefficients a[] using Chebyshev
polynomials.
|
(package private) static void |
lag_window(int m,
float[] r)
Lag windowing of the autocorrelations
|
(package private) static float |
levinson(float[] r,
float[] a,
int a_offset,
float[] rc)
Levinson-Durbin recursion to compute LPC parameters.
|
static void autocorr(float[] x, int x_offset, int m, float[] r)
x
- (i) input signal x[0:L_WINDOW]x_offset
- (i) input signal offsetm
- (i) LPC orderr
- (o) auto-correlation vector r[0:M]static void lag_window(int m, float[] r)
m
- (i) LPC orderr
- (i/o) correlationstatic float levinson(float[] r, float[] a, int a_offset, float[] rc)
r
- (i) auto correlation coefficients r[0:M]a
- (o) lpc coefficients a[0] = 1a_offset
- (i) lpc coefficients offsetrc
- (o) reflection coefficients rc[0:M-1]static void az_lsp(float[] a, int a_offset, float[] lsp, float[] old_lsp)
a
- (i) LP filter coefficientsa_offset
- (i) LP filter coefficients offsetlsp
- (o) Line spectral pairs (in the cosine domain)old_lsp
- (i) LSP vector from past frame
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.