marytts.signalproc.process
Class Robotiser

java.lang.Object
  extended by marytts.util.data.BaseDoubleDataSource
      extended by marytts.util.data.BufferedDoubleDataSource
          extended by marytts.util.data.BlockwiseDoubleDataSource
              extended by marytts.signalproc.process.FrameOverlapAddSource
                  extended by marytts.signalproc.process.Robotiser
All Implemented Interfaces:
DoubleDataSource

public class Robotiser
extends FrameOverlapAddSource

Author:
Marc Schröder Create a robot-like impression on the output, by setting all phases to zero in each frame. This effectively creates a pitch equalling the output frame shift.

Nested Class Summary
static class Robotiser.PhaseRemover
           
 
Field Summary
 
Fields inherited from class marytts.signalproc.process.FrameOverlapAddSource
DEFAULT_WINDOWTYPE, frameProvider, memory, outputWindow, processor
 
Fields inherited from class marytts.util.data.BlockwiseDoubleDataSource
blockSize
 
Fields inherited from class marytts.util.data.BufferedDoubleDataSource
buf, dataProcessor, DEFAULT_BUFFERSIZE, readPos, writePos
 
Fields inherited from class marytts.util.data.BaseDoubleDataSource
dataLength, inputSource
 
Fields inherited from interface marytts.util.data.DoubleDataSource
NOT_SPECIFIED
 
Constructor Summary
Robotiser(DoubleDataSource inputSource, int samplingRate)
           
Robotiser(DoubleDataSource inputSource, int samplingRate, float amount)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class marytts.signalproc.process.FrameOverlapAddSource
getBlockSize, getInputFrameshift, getNextFrame, hasMoreData, initialise, prepareBlock, readBlock
 
Methods inherited from class marytts.util.data.BlockwiseDoubleDataSource
readIntoBuffer
 
Methods inherited from class marytts.util.data.BufferedDoubleDataSource
available, bufferSpaceLeft, compact, currentlyInBuffer, getData, increaseBufferSize
 
Methods inherited from class marytts.util.data.BaseDoubleDataSource
getAllData, getData, getData, getDataLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Robotiser

public Robotiser(DoubleDataSource inputSource,
                 int samplingRate,
                 float amount)
Parameters:
inputSource -
frameLength -
samplingRate -
rateChangeFactor - the factor by which to speed up or slow down the source. Values greater than one will speed up, values smaller than one will slow down the original.

Robotiser

public Robotiser(DoubleDataSource inputSource,
                 int samplingRate)
Method Detail

main

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