// Sintetiza y reproduce en español el mensaje contenido en un archivo de texto // Entradas: // - file: nombre del archivo void say_file(const char *file) { festival_eval_command("(voice_el_diphone)"); // voz en español festival_say_file(file); //festival_wait_for_spooler(); // bloquear ejecución hasta que acabe de decirlo }
int TTS::sayFile(const char *filename) { EST_String str(filename); return festival_say_file(str); }