|
|
|
|
|
|
|
|
return 0; // finished the phoneme list |
|
|
return 0; // finished the phoneme list |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
static int current_phoneme_table; |
|
|
|
|
|
int SpeakNextClause(int control) |
|
|
int SpeakNextClause(int control) |
|
|
{ |
|
|
{ |
|
|
// Speak text from memory (text_in) |
|
|
// Speak text from memory (text_in) |
|
|
|
|
|
|
|
|
return 0; |
|
|
return 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (current_phoneme_table != voice->phoneme_tab_ix) |
|
|
|
|
|
current_phoneme_table = SelectPhonemeTable(voice->phoneme_tab_ix); |
|
|
|
|
|
|
|
|
|
|
|
// read the next clause from the input text file, translate it, and generate |
|
|
// read the next clause from the input text file, translate it, and generate |
|
|
// entries in the wavegen command queue |
|
|
// entries in the wavegen command queue |
|
|
TranslateClause(translator, &clause_tone, &voice_change); |
|
|
TranslateClause(translator, &clause_tone, &voice_change); |