public class HMMSynthesizer extends Object implements WaveformSynthesizer
| Constructor and Description |
|---|
HMMSynthesizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
powerOnSelfTest()
Perform a power-on self test by processing some example input data.
|
void |
startup()
Start up the waveform synthesizer.
|
AudioInputStream |
synthesize(List<Element> tokensAndBoundaries,
Voice voice,
String outputParams)
Synthesize a given part of a MaryXML document.
|
String |
toString() |
public void startup()
throws Exception
WaveformSynthesizerstartup in interface WaveformSynthesizerException - Exceptionpublic void powerOnSelfTest()
throws Error
powerOnSelfTest in interface WaveformSynthesizerError - if the module does not work properly.public AudioInputStream synthesize(List<Element> tokensAndBoundaries, Voice voice, String outputParams) throws SynthesisException
synthesize in interface WaveformSynthesizertokensAndBoundaries - the part of the MaryXML document to synthesize; a list containing a number of adjacent t and boundary elements.voice - the Voice to use for synthesisoutputParams - any specified output parameters; may be nullSynthesisException - if the voice requested for this section is incompatible with this WaveformSynthesizer.Copyright © 2000–2016 DFKI GmbH. All rights reserved.