marytts.signalproc.process
Class LPCWhisperiser

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

public class LPCWhisperiser
extends LPCAnalysisResynthesis

Author:
Marc Schröder

Field Summary
protected  double oneMinusWhisperAmount
           
protected  double whisperAmount
           
 
Fields inherited from class marytts.signalproc.process.LPCAnalysisResynthesis
p
 
Constructor Summary
LPCWhisperiser(int predictionOrder)
           
LPCWhisperiser(int predictionOrder, double amount)
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void processLPC(LpcAnalyser.LpCoeffs coeffs, double[] residual)
          Replace residual with white noise
 
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

whisperAmount

protected double whisperAmount

oneMinusWhisperAmount

protected double oneMinusWhisperAmount
Constructor Detail

LPCWhisperiser

public LPCWhisperiser(int predictionOrder,
                      double amount)

LPCWhisperiser

public LPCWhisperiser(int predictionOrder)
Method Detail

processLPC

protected void processLPC(LpcAnalyser.LpCoeffs coeffs,
                          double[] residual)
Replace residual with white noise

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