Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.neomedia.codec.audio.g729
Class PostPro

java.lang.Object
  extended by net.java.sip.communicator.impl.neomedia.codec.audio.g729.PostPro

 class PostPro
extends Object

Post-processing of output speech. 2nd order high pass filter with cut off frequency at 100 Hz. Designed with SPPACK efi command -40 dB att, 0.25 ri. Algorithm:

  y[i] = b[0]*x[i] + b[1]*x[i-1] + b[2]*x[i-2]
                   + a[1]*y[i-1] + a[2]*y[i-2];

     b[3] = {0.93980581E+00, -0.18795834E+01,  0.93980581E+00};
     a[3] = {0.10000000E+01, +0.19330735E+01, -0.93589199E+00};
 

Author:
Lubomir Marinov (translation of ITU-T C source code to Java)

Constructor Summary
PostPro()
           
 
Method Summary
(package private)  void init_post_process()
          Init Post Process.
(package private)  void post_process(float[] signal, int lg)
          Post Process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostPro

PostPro()
Method Detail

init_post_process

void init_post_process()
Init Post Process.


post_process

void post_process(float[] signal,
                  int lg)
Post Process

Parameters:
signal - (i/o) : signal
lg - (i) : lenght of signal

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.