Ejemplo n.º 1
0
/** Say a message
 *  @param msg
 *    the message to say
 *  @return 0
 */
int tts_say(const char *msg) {
  if (!voice_selected) {
    tts_select_voice("voice_kal_diphone");
  }
  festival_say_text(msg);
  festival_wait_for_spooler();
  return 0;
}
Ejemplo n.º 2
0
/** Say a message
 *  @param msg
 *    the message to say
 *  @return 0
 */
int tts_say(const char *msg) {
  if (!voice_selected) {
//    tts_select_voice("voice_cmu_us_slt_arctic_hts");
    tts_select_voice("voice_kal_diphone");
  }
  festival_say_text(msg);
  festival_wait_for_spooler();
  return 0;
}