class Lpcfunc
extends java.lang.Object
Constructor and Description |
---|
Lpcfunc() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
int_lpc(float[] lsp_old,
float[] lsp_new,
float[] lsf_int,
float[] lsf_new,
float[] az)
Interpolated M LSP parameters and convert to M+1 LPC coeffs
|
(package private) static void |
int_qlpc(float[] lsp_old,
float[] lsp_new,
float[] az)
Interpolated M LSP parameters and convert to M+1 LPC coeffs
|
(package private) static void |
lsf_lsp(float[] lsf,
float[] lsp,
int m)
Convert from lsf[0..M-1 to lsp[0..M-1]
|
(package private) static void |
lsp_lsf(float[] lsp,
float[] lsf,
int m)
Convert from lsp[0..M-1 to lsf[0..M-1]
|
(package private) static void |
weight_az(float[] a,
int a_offset,
float gamma,
int m,
float[] ap)
Weighting of LPC coefficients ap[i] = a[i] * (gamma ** i)
|
static void lsf_lsp(float[] lsf, float[] lsp, int m)
lsf
- input : lsflsp
- output: lspm
- input : lengthstatic void lsp_lsf(float[] lsp, float[] lsf, int m)
lsp
- input : lsp coefficientslsf
- output: lsf (normalized frequenciesm
- input: lengthstatic void weight_az(float[] a, int a_offset, float gamma, int m, float[] ap)
a
- input : lpc coefficients a[0:m]a_offset
- input : lpc coefficients offsetgamma
- input : weighting factorm
- input : filter orderap
- output: weighted coefficients ap[0:m]static void int_qlpc(float[] lsp_old, float[] lsp_new, float[] az)
lsp_old
- input : LSPs for past frame (0:M-1)lsp_new
- input : LSPs for present frame (0:M-1)az
- output: filter parameters in 2 subfr (dim 2(m+1))static void int_lpc(float[] lsp_old, float[] lsp_new, float[] lsf_int, float[] lsf_new, float[] az)
lsp_old
- input : LSPs for past frame (0:M-1)lsp_new
- input : LSPs for present frame (0:M-1)lsf_int
- output: interpolated lsf coefficientslsf_new
- input : LSFs for present frame (0:M-1)az
- output: filter parameters in 2 subfr (dim 2(m+1))
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.