marytts.signalproc.process
Class LPCCrossSynthesis

java.lang.Object
  extended by marytts.signalproc.process.LPCAnalysisResynthesis
      extended by marytts.signalproc.process.LPCCrossSynthesis
All Implemented Interfaces:
InlineDataProcessor

public class LPCCrossSynthesis
extends LPCAnalysisResynthesis

Author:
Marc Schröder

Field Summary
protected  FrameProvider newResidualAudioFrames
           
 
Fields inherited from class marytts.signalproc.process.LPCAnalysisResynthesis
p
 
Constructor Summary
LPCCrossSynthesis(FrameProvider newResidualAudioFrames, int p)
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void processLPC(LpcAnalyser.LpCoeffs coeffs, double[] residual)
          Replace residual with new residual from audio signal, adapting the gain in order to maintain overall volume.
 
Methods inherited from class marytts.signalproc.process.LPCAnalysisResynthesis
applyInline
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

newResidualAudioFrames

protected FrameProvider newResidualAudioFrames
Constructor Detail

LPCCrossSynthesis

public LPCCrossSynthesis(FrameProvider newResidualAudioFrames,
                         int p)
Method Detail

processLPC

protected void processLPC(LpcAnalyser.LpCoeffs coeffs,
                          double[] residual)
Replace residual with new residual from audio signal, adapting the gain in order to maintain overall volume.

Overrides:
processLPC in class LPCAnalysisResynthesis
Parameters:
coeffs - the LPC coefficients
residual - the residual, of length framelength

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception