marytts.signalproc.adaptation
Class BaselineTransformer

java.lang.Object
  extended by marytts.signalproc.adaptation.BaselineTransformer
Direct Known Subclasses:
JointGMMTransformer, WeightedCodebookTransformer

public class BaselineTransformer
extends java.lang.Object

Baseline class for voice conversion transformation

Author:
Oytun Türk

Field Summary
 BaselineFeatureExtractor featureExtractor
           
 BaselinePostprocessor postprocessor
           
 BaselinePreprocessor preprocessor
           
 
Constructor Summary
BaselineTransformer(BaselinePreprocessor pp, BaselineFeatureExtractor fe, BaselinePostprocessor po, BaselineTransformerParams pa)
           
 
Method Summary
 boolean checkParams()
           
static boolean isScalingsRequired(double[] pscales, double[] tscales, double[] escales, double[] vscales)
           
 void transform(BaselineAdaptationSet inputSet, BaselineAdaptationSet outputSet)
           
static void transformOneItem(BaselineAdaptationItem inputItem, BaselineAdaptationItem outputItem, BaselineTransformerParams tfmParams, VocalTractTransformationFunction vttFunction, VocalTractTransformationData vtData, PitchTransformationData pMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

preprocessor

public BaselinePreprocessor preprocessor

featureExtractor

public BaselineFeatureExtractor featureExtractor

postprocessor

public BaselinePostprocessor postprocessor
Constructor Detail

BaselineTransformer

public BaselineTransformer(BaselinePreprocessor pp,
                           BaselineFeatureExtractor fe,
                           BaselinePostprocessor po,
                           BaselineTransformerParams pa)
Method Detail

checkParams

public boolean checkParams()
                    throws java.io.IOException
Throws:
java.io.IOException

transform

public void transform(BaselineAdaptationSet inputSet,
                      BaselineAdaptationSet outputSet)
               throws javax.sound.sampled.UnsupportedAudioFileException
Throws:
javax.sound.sampled.UnsupportedAudioFileException

transformOneItem

public static void transformOneItem(BaselineAdaptationItem inputItem,
                                    BaselineAdaptationItem outputItem,
                                    BaselineTransformerParams tfmParams,
                                    VocalTractTransformationFunction vttFunction,
                                    VocalTractTransformationData vtData,
                                    PitchTransformationData pMap)
                             throws javax.sound.sampled.UnsupportedAudioFileException,
                                    java.io.IOException
Throws:
javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException

isScalingsRequired

public static boolean isScalingsRequired(double[] pscales,
                                         double[] tscales,
                                         double[] escales,
                                         double[] vscales)