Package 

Class G711Appendix_I_PLC

    • Constructor Summary

      Constructors 
      Constructor Description
      G711Appendix_I_PLC() Constructor for LowcFE.Initializes the PLC module.
    • Method Summary

      Modifier and Type Method Description
      void dofe(Array<short> out) Generate the synthetic signal during frame erasure.At the beginning of an erasure determine the pitch, and extractone pitch period from the tail of the signal.
      int addtohistory(Array<short> samples, int offset, int length) A good frame was received and decoded.If right after an erasure, do an overlap add with the synthetic signal.Add the frame to history buffer.
      void addtohistory(Array<short> s) A good frame was received and decoded.If right after an erasure, do an overlap add with the synthetic signal.Add the frame to history buffer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • G711Appendix_I_PLC

        G711Appendix_I_PLC()
        Constructor for LowcFE.Initializes the PLC module.
    • Method Detail

      • dofe

         void dofe(Array<short> out)

        Generate the synthetic signal during frame erasure.At the beginning of an erasure determine the pitch, and extractone pitch period from the tail of the signal. Do an OLA for 1/4of the pitch to smooth the signal. Then repeat the extracted signalfor the length of the erasure. If the erasure continues for more than10 msec, increase the number of periods in the pitchbuffer. At the endof an erasure, do an OLA with the start of the first good frame.The gain decays as the erasure gets longer.

        Parameters:
        out - Output buffer for synthesized speech
      • addtohistory

         int addtohistory(Array<short> samples, int offset, int length)

        A good frame was received and decoded.If right after an erasure, do an overlap add with the synthetic signal.Add the frame to history buffer.

        Parameters:
        samples - Speech samples from the good frame
        offset - starting offset of the good frame
        length - length of goodFrame
      • addtohistory

         void addtohistory(Array<short> s)

        A good frame was received and decoded.If right after an erasure, do an overlap add with the synthetic signal.Add the frame to history buffer.

        Parameters:
        s - Speech samples from the good frame