|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmarytts.vocalizations.VocalizationSynthesizer
public class VocalizationSynthesizer
The vocalization synthesis module.
| Field Summary | |
|---|---|
protected TimelineReader |
audioTimeline
|
protected boolean |
f0ContourImposeSupport
|
protected FeatureDefinition |
f0FeatureDefinition
|
protected FeatureDefinition |
featureDefinition
|
protected VocalizationFeatureFileReader |
featureFileReader
|
protected org.apache.log4j.Logger |
logger
|
protected float |
maxCandidateCost
|
protected float |
maxF0Cost
|
protected int |
noOfSuitableUnits
|
protected int |
samplingRate
|
protected VocalizationUnitFileReader |
unitFileReader
|
protected VocalizationFFRTargetCostFunction |
vffrtCostFunction
|
protected VocalizationFFRTargetCostFunction |
vffrtIntonationCostFunction
|
protected VocalizationIntonationReader |
vIntonationReader
|
| Constructor Summary | |
|---|---|
VocalizationSynthesizer(Voice voice)
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
listAvailableVocalizations()
List the possible vocalization names that are available for the given voice. |
javax.sound.sampled.AudioInputStream |
synthesize(Voice voice,
javax.sound.sampled.AudioFileFormat aft,
org.w3c.dom.Element domElement)
Handle a synthesize request |
javax.sound.sampled.AudioInputStream |
synthesizeImposedIntonation(Voice voice,
javax.sound.sampled.AudioFileFormat aft,
org.w3c.dom.Element domElement)
Synthesize a vocalization which fits better for given target, in addition, impose intonation from closest best vocalization according to given feature definition for intonation selection |
javax.sound.sampled.AudioInputStream |
synthesizeSelectedVocalization(int backchannelNumber,
javax.sound.sampled.AudioFileFormat aft,
org.w3c.dom.Element domElement)
Synthesize a selected vocalization |
javax.sound.sampled.AudioInputStream |
synthesizeVariant(Voice voice,
javax.sound.sampled.AudioFileFormat aft,
org.w3c.dom.Element domElement)
Synthesize a "variant" vocalization |
javax.sound.sampled.AudioInputStream |
synthesizeVocalization(Voice voice,
javax.sound.sampled.AudioFileFormat aft,
org.w3c.dom.Element domElement)
Synthesize a vocalization which fits better for given target |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TimelineReader audioTimeline
protected VocalizationUnitFileReader unitFileReader
protected int samplingRate
protected boolean f0ContourImposeSupport
protected VocalizationFeatureFileReader featureFileReader
protected FeatureDefinition featureDefinition
protected FeatureDefinition f0FeatureDefinition
protected VocalizationIntonationReader vIntonationReader
protected int noOfSuitableUnits
protected VocalizationFFRTargetCostFunction vffrtCostFunction
protected VocalizationFFRTargetCostFunction vffrtIntonationCostFunction
protected float maxCandidateCost
protected float maxF0Cost
protected org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public VocalizationSynthesizer(Voice voice)
throws MaryConfigurationException
MaryConfigurationException| Method Detail |
|---|
public javax.sound.sampled.AudioInputStream synthesize(Voice voice,
javax.sound.sampled.AudioFileFormat aft,
org.w3c.dom.Element domElement)
throws java.lang.Exception
voice - aft - domElement -
java.lang.Exception
public javax.sound.sampled.AudioInputStream synthesizeVariant(Voice voice,
javax.sound.sampled.AudioFileFormat aft,
org.w3c.dom.Element domElement)
throws java.lang.Exception
voice - aft - domElement -
java.lang.Exception
public javax.sound.sampled.AudioInputStream synthesizeVocalization(Voice voice,
javax.sound.sampled.AudioFileFormat aft,
org.w3c.dom.Element domElement)
throws java.lang.Exception
voice - aft - domElement -
java.lang.Exception
public javax.sound.sampled.AudioInputStream synthesizeImposedIntonation(Voice voice,
javax.sound.sampled.AudioFileFormat aft,
org.w3c.dom.Element domElement)
throws java.lang.Exception
voice - aft - domElement -
java.lang.Exception
public javax.sound.sampled.AudioInputStream synthesizeSelectedVocalization(int backchannelNumber,
javax.sound.sampled.AudioFileFormat aft,
org.w3c.dom.Element domElement)
throws java.io.IOException
backchannelNumber - aft - domElement -
java.io.IOExceptionpublic java.lang.String[] listAvailableVocalizations()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||