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