public class Vbr
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private float |
accum_sum |
private float |
average_energy |
private int |
consec_noise |
private float |
energy_alpha |
static float[][] |
hb_thresh
Wideband threshhold table.
|
private float |
last_energy |
private float[] |
last_log_energy |
private float |
last_pitch_coef |
private float |
last_quality |
static int |
MIN_ENERGY |
static float[][] |
nb_thresh
Narrowband threshhold table.
|
private float |
noise_accum |
private float |
noise_accum_count |
private float |
noise_level |
static float |
NOISE_POW |
private float |
soft_pitch |
static float[][] |
uhb_thresh
Ultra-wideband threshhold table.
|
static int |
VBR_MEMORY_SIZE |
Constructor and Description |
---|
Vbr()
Constructor
|
Modifier and Type | Method and Description |
---|---|
float |
analysis(float[] sig,
int len,
int pitch,
float pitch_coef)
This function should analyse the signal and decide how critical the
coding error will be perceptually.
|
public static final int VBR_MEMORY_SIZE
public static final int MIN_ENERGY
public static final float NOISE_POW
public static final float[][] nb_thresh
public static final float[][] hb_thresh
public static final float[][] uhb_thresh
private float energy_alpha
private float average_energy
private float last_energy
private float[] last_log_energy
private float accum_sum
private float last_pitch_coef
private float soft_pitch
private float last_quality
private float noise_level
private float noise_accum
private float noise_accum_count
private int consec_noise
public float analysis(float[] sig, int len, int pitch, float pitch_coef)
sig
- - signal.len
- - signal length.pitch
- - signal pitch.pitch_coef
- - pitch coefficient.Copyright © 1999-2004 Wimba S.A. All Rights Reserved.