public class Filters
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
last_pitch |
private float[] |
last_pitch_gain |
private float |
smooth_gain |
private float[] |
xx |
| Constructor and Description |
|---|
Filters()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
bw_lpc(float gamma,
float[] lpc_in,
float[] lpc_out,
int order)
bw_lpc
|
void |
comb_filter(float[] exc,
int esi,
float[] new_exc,
int nsi,
int nsf,
int pitch,
float[] pitch_gain,
float comb_gain)
Comb Filter
|
static void |
filter_mem2(float[] x,
int xs,
float[] num,
float[] den,
float[] y,
int ys,
int N,
int ord,
float[] mem,
int ms)
filter_mem2
|
static void |
filter_mem2(float[] x,
int xs,
float[] num,
float[] den,
int N,
int ord,
float[] mem,
int ms)
filter_mem2
|
void |
fir_mem_up(float[] x,
float[] a,
float[] y,
int N,
int M,
float[] mem)
fir_mem_up
|
static void |
fir_mem2(float[] x,
int xs,
float[] num,
float[] y,
int ys,
int N,
int ord,
float[] mem)
fir_mem2
|
static void |
iir_mem2(float[] x,
int xs,
float[] den,
float[] y,
int ys,
int N,
int ord,
float[] mem)
iir_mem2
|
void |
init()
Initialisation
|
static void |
qmf_decomp(float[] xx,
float[] aa,
float[] y1,
float[] y2,
int N,
int M,
float[] mem)
Quadrature Mirror Filter to Split the band in two.
|
static void |
residue_percep_zero(float[] xx,
int xxs,
float[] ak,
float[] awk1,
float[] awk2,
float[] y,
int N,
int ord)
residue_percep_zero
|
static void |
syn_percep_zero(float[] xx,
int xxs,
float[] ak,
float[] awk1,
float[] awk2,
float[] y,
int N,
int ord)
syn_percep_zero
|
private int last_pitch
private float[] last_pitch_gain
private float smooth_gain
private float[] xx
public void init()
public static final void bw_lpc(float gamma,
float[] lpc_in,
float[] lpc_out,
int order)
gamma - lpc_in - lpc_out - order - public static final void filter_mem2(float[] x,
int xs,
float[] num,
float[] den,
int N,
int ord,
float[] mem,
int ms)
x - xs - num - den - N - ord - mem - ms - public static final void filter_mem2(float[] x,
int xs,
float[] num,
float[] den,
float[] y,
int ys,
int N,
int ord,
float[] mem,
int ms)
x - xs - num - den - y - ys - N - ord - mem - ms - public static final void iir_mem2(float[] x,
int xs,
float[] den,
float[] y,
int ys,
int N,
int ord,
float[] mem)
x - xs - den - y - ys - N - ord - mem - public static final void fir_mem2(float[] x,
int xs,
float[] num,
float[] y,
int ys,
int N,
int ord,
float[] mem)
x - xs - num - y - ys - N - ord - mem - public static final void syn_percep_zero(float[] xx,
int xxs,
float[] ak,
float[] awk1,
float[] awk2,
float[] y,
int N,
int ord)
xx - xxs - ak - awk1 - awk2 - y - N - ord - public static final void residue_percep_zero(float[] xx,
int xxs,
float[] ak,
float[] awk1,
float[] awk2,
float[] y,
int N,
int ord)
xx - xxs - ak - awk1 - awk2 - y - N - ord - public void fir_mem_up(float[] x,
float[] a,
float[] y,
int N,
int M,
float[] mem)
x - a - y - N - M - mem - public void comb_filter(float[] exc,
int esi,
float[] new_exc,
int nsi,
int nsf,
int pitch,
float[] pitch_gain,
float comb_gain)
exc - - decoded excitationesi - new_exc - - enhanced excitationnsi - nsf - - sub-frame sizepitch - - pitch periodpitch_gain - - pitch gain (3-tap)comb_gain - - gain of comb filterpublic static final void qmf_decomp(float[] xx,
float[] aa,
float[] y1,
float[] y2,
int N,
int M,
float[] mem)
xx - aa - y1 - y2 - N - M - mem - Copyright © 1999-2004 Wimba S.A. All Rights Reserved.