public class FestivalCaller extends SynthesisCallerBase
| Modifier and Type | Class and Description |
|---|---|
static class |
FestivalCaller.SimpleFestivalClient |
| Modifier and Type | Field and Description |
|---|---|
protected File |
festivalDir |
protected File |
intEventDir |
protected File |
phraseDir |
protected File |
relationsDir |
protected File |
segmentDir |
protected File |
syllableDir |
protected File |
targetDir |
protected File |
uttsDir |
protected File |
wordDir |
logger, stateMODULE_OFFLINE, MODULE_RUNNING| Constructor and Description |
|---|
FestivalCaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
startup()
Allow the module to start up, performing whatever is necessary to become operational.
|
AudioInputStream |
synthesiseOneSection(String festivalUtt,
Voice voice)
Process a single utterance in FESTIVAL_UTT text format.
|
convertIfNeededAndPossible, powerOnSelfTest, processgetInputType, getLocale, getOutputType, getState, inputType, name, outputType, shutdownprotected File festivalDir
protected File relationsDir
protected File segmentDir
protected File syllableDir
protected File wordDir
protected File intEventDir
protected File phraseDir
protected File targetDir
protected File uttsDir
public void startup()
throws Exception
MaryModulestartup in interface MaryModulestartup in class SynthesisCallerBaseException - Exceptionpublic AudioInputStream synthesiseOneSection(String festivalUtt, Voice voice) throws IOException
synthesiseOneSection in class SynthesisCallerBasefestivalUtt - festivalUttvoice - the voice with which to synthesise the dataIOException - IOExceptionCopyright © 2000–2016 DFKI GmbH. All rights reserved.