@Override public AudioInputStream synthesiseOneSection(String festivalUtt,Voice voice) throws IOException {
  writeRelationFiles(festivalUtt);
  File audioFile=new File(festivalDir.getPath() + File.separator + "mary.wav");
  String festivalVoiceCmd="(voice_" + voice.getName() + ")";
  AudioInputStream sound=festivalSynthesise(audioFile,festivalVoiceCmd);
  return sound;
}

@ Override public AudioInputStream synthesiseOneSection ( String festivalUtt , Voice voice ) throws IOException { writeRelationFiles ( festivalUtt ) ; File audioFile = new File ( festivalDir . getPath ( ) + File . separator + "mary.wav" ) ; String festivalVoiceCmd = "(voice_" + voice . getName ( ) + ")" ; AudioInputStream sound = festivalSynthesise ( audioFile , festivalVoiceCmd ) ; return sound ; }
process a single utterance in festival_utt text format .
