|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WaveformSynthesizer
Provide a common interface for all waveform synthesizers, to be called from within the "wrapping" Synthesis module.
| Method Summary | |
|---|---|
void |
powerOnSelfTest()
Perform a power-on self test by processing some example input data. |
void |
startup()
Start up the waveform synthesizer. |
javax.sound.sampled.AudioInputStream |
synthesize(java.util.List<org.w3c.dom.Element> tokensAndBoundaries,
Voice voice)
Synthesize a given part of a MaryXML document. |
| Method Detail |
|---|
void startup()
throws java.lang.Exception
java.lang.Exception
void powerOnSelfTest()
throws java.lang.Error
java.lang.Error - if the module does not work properly.
javax.sound.sampled.AudioInputStream synthesize(java.util.List<org.w3c.dom.Element> tokensAndBoundaries,
Voice voice)
throws SynthesisException
tokensAndBoundaries - the part of the MaryXML document to
synthesize; a list containing a number of adjacent java.lang.IllegalArgumentException - if the voice requested for this section
is incompatible with this WaveformSynthesizer.
SynthesisException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||