Package org.xiph.speex
Class NoiseSearch
- java.lang.Object
-
- org.xiph.speex.CbSearch
-
- org.xiph.speex.NoiseSearch
-
public class NoiseSearch extends CbSearch
Noise codebook search- Version:
- $Revision: 1.2 $
- Author:
- Jim Lawrence, helloNetwork.com, Marc Gimpel, Wimba S.A. (mgimpel@horizonwimba.com)
-
-
Constructor Summary
Constructors Constructor Description NoiseSearch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
quant(float[] target, float[] ak, float[] awk1, float[] awk2, int p, int nsf, float[] exc, int es, float[] r, Bits bits, int complexity)
Codebook Search Quantification (Noise).void
unquant(float[] exc, int es, int nsf, Bits bits)
Codebook Search Unquantification (Noise).
-
-
-
Method Detail
-
quant
public final void quant(float[] target, float[] ak, float[] awk1, float[] awk2, int p, int nsf, float[] exc, int es, float[] r, Bits bits, int complexity)
Codebook Search Quantification (Noise).- Specified by:
quant
in classCbSearch
- Parameters:
target
- target vectorak
- LPCs for this subframeawk1
- Weighted LPCs for this subframeawk2
- Weighted LPCs for this subframep
- number of LPC coeffsnsf
- number of samples in subframeexc
- excitation array.es
- position in excitation array.r
-bits
- Speex bits buffer.complexity
-
-
-