org.xiph.speex
Class LtpForcedPitch

java.lang.Object
  extended byorg.xiph.speex.Ltp
      extended byorg.xiph.speex.LtpForcedPitch

public class LtpForcedPitch
extends Ltp

Long Term Prediction Quantisation and Unquantisation (Forced Pitch)

Version:
$Revision: 1.4 $
Author:
Jim Lawrence, helloNetwork.com, Marc Gimpel, Wimba S.A. (marc@wimba.com)

Constructor Summary
LtpForcedPitch()
           
 
Method Summary
 int quant(float[] target, float[] sw, int sws, float[] ak, float[] awk1, float[] awk2, float[] exc, int es, int start, int end, float pitch_coef, int p, int nsf, Bits bits, float[] exc2, int e2s, float[] r, int complexity)
          Long Term Prediction Quantification (Forced Pitch).
 int unquant(float[] exc, int es, int start, float pitch_coef, int nsf, float[] gain_val, Bits bits, int count_lost, int subframe_offset, float last_pitch_gain)
          Long Term Prediction Unquantification (Forced Pitch).
 
Methods inherited from class org.xiph.speex.Ltp
inner_prod, open_loop_nbest_pitch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LtpForcedPitch

public LtpForcedPitch()
Method Detail

quant

public final int quant(float[] target,
                       float[] sw,
                       int sws,
                       float[] ak,
                       float[] awk1,
                       float[] awk2,
                       float[] exc,
                       int es,
                       int start,
                       int end,
                       float pitch_coef,
                       int p,
                       int nsf,
                       Bits bits,
                       float[] exc2,
                       int e2s,
                       float[] r,
                       int complexity)
Long Term Prediction Quantification (Forced Pitch).

Specified by:
quant in class Ltp
Returns:

unquant

public final int unquant(float[] exc,
                         int es,
                         int start,
                         float pitch_coef,
                         int nsf,
                         float[] gain_val,
                         Bits bits,
                         int count_lost,
                         int subframe_offset,
                         float last_pitch_gain)
Long Term Prediction Unquantification (Forced Pitch).

Specified by:
unquant in class Ltp
Parameters:
exc - - Excitation
es - - Excitation offset
start - - Smallest pitch value allowed
pitch_coef - - Voicing (pitch) coefficient
nsf - - Number of samples in subframe
gain_val -
bits - - Speex bits buffer.
count_lost -
subframe_offset -
last_pitch_gain -
Returns:
pitch


Copyright © 1999-2004 Wimba S.A. All Rights Reserved.