|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xiph.speex.Lsp
Line Spectral Pair
| Field Summary | |
private float[] |
pw
|
| Constructor Summary | |
Lsp()
Constructor |
|
| Method Summary | |
static float |
cheb_poly_eva(float[] coef,
float x,
int m)
This function evaluates a series of Chebyshev polynomials. |
static void |
enforce_margin(float[] lsp,
int len,
float margin)
Makes sure the LSPs are stable. |
static int |
lpc2lsp(float[] a,
int lpcrdr,
float[] freq,
int nb,
float delta)
This function converts LPC coefficients to LSP coefficients. |
void |
lsp2lpc(float[] freq,
float[] ak,
int lpcrdr)
Line Spectral Pair to Linear Prediction Coefficients |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private float[] pw
| Constructor Detail |
public Lsp()
| Method Detail |
public static final float cheb_poly_eva(float[] coef,
float x,
int m)
coef - - coefficients of the polynomial to be evaluated.x - - the point where polynomial is to be evaluated.m - - order of the polynomial.
public static int lpc2lsp(float[] a,
int lpcrdr,
float[] freq,
int nb,
float delta)
a - - LPC coefficients.lpcrdr - - order of LPC coefficients (10).freq - - LSP frequencies in the x domain.nb - - number of sub-intervals (4).delta - - grid spacing interval (0.02).
public void lsp2lpc(float[] freq,
float[] ak,
int lpcrdr)
freq - ak - lpcrdr -
public static void enforce_margin(float[] lsp,
int len,
float margin)
lsp - len - margin -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||