public class MLSASynthesisTechnology extends VocalizationSynthesisTechnology
Modifier and Type | Field and Description |
---|---|
protected HMMData |
htsData |
protected boolean |
imposePolynomialContour |
protected HTSVocoder |
par2speech |
protected VocalizationIntonationReader |
vIntonationReader |
protected MLSAFeatureFileReader |
vMLSAFeaturesReader |
Constructor and Description |
---|
MLSASynthesisTechnology(String mlsaFeatureFile,
String intonationFeatureFile,
String mixedExcitationFile,
boolean imposePolynomialContour) |
Modifier and Type | Method and Description |
---|---|
AudioInputStream |
reSynthesize(int backchannelNumber,
AudioFileFormat aft)
Re-synthesize given vocalization using MLSA (it is same as synthesize())
|
AudioInputStream |
synthesize(int backchannelNumber,
AudioFileFormat aft)
Synthesize given vocalization using MLSA vocoder
|
AudioInputStream |
synthesizeUsingImposedF0(int sourceIndex,
int targetIndex,
AudioFileFormat aft)
Impose target intonation contour on given vocalization using MLSA technology
|
protected MLSAFeatureFileReader vMLSAFeaturesReader
protected VocalizationIntonationReader vIntonationReader
protected HMMData htsData
protected HTSVocoder par2speech
protected boolean imposePolynomialContour
public MLSASynthesisTechnology(String mlsaFeatureFile, String intonationFeatureFile, String mixedExcitationFile, boolean imposePolynomialContour) throws MaryConfigurationException
MaryConfigurationException
public AudioInputStream synthesize(int backchannelNumber, AudioFileFormat aft) throws SynthesisException
synthesize
in class VocalizationSynthesisTechnology
backchannelNumber
- unit indexaft
- audio file formatSynthesisException
- if failed to synthesize vocalizationpublic AudioInputStream reSynthesize(int backchannelNumber, AudioFileFormat aft) throws SynthesisException
reSynthesize
in class VocalizationSynthesisTechnology
backchannelNumber
- unit indexaft
- audio file formatSynthesisException
- if failed to synthesize vocalizationpublic AudioInputStream synthesizeUsingImposedF0(int sourceIndex, int targetIndex, AudioFileFormat aft) throws SynthesisException
synthesizeUsingImposedF0
in class VocalizationSynthesisTechnology
sourceIndex
- unit index of vocalizationtargetIndex
- unit index of target intonationaft
- audio file formatSynthesisException
- if failed to synthesize vocalizationCopyright © 2000–2016 DFKI GmbH. All rights reserved.