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
WaveformSynthesizer
startup
in interface WaveformSynthesizer
Exception
- Exceptionpublic void powerOnSelfTest() throws Error
powerOnSelfTest
in interface WaveformSynthesizer
Error
- if the module does not work properly.public AudioInputStream synthesize(List<Element> tokensAndBoundaries, Voice voice, String outputParams) throws SynthesisException
synthesize
in interface WaveformSynthesizer
tokensAndBoundaries
- 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.