|
|
|
|
|
|
|
|
int mbrola_ctrl = 20; // volume in 1/16 ths |
|
|
int mbrola_ctrl = 20; // volume in 1/16 ths |
|
|
MBROLA_TAB data[N_PHONEME_TAB]; |
|
|
MBROLA_TAB data[N_PHONEME_TAB]; |
|
|
|
|
|
|
|
|
strcpy(buf, filepath); |
|
|
|
|
|
if ((f_in = fopen(buf, "r")) == NULL) |
|
|
|
|
|
return create_file_error_context(context, errno, buf); |
|
|
|
|
|
|
|
|
if ((f_in = fopen(filepath, "r")) == NULL) |
|
|
|
|
|
return create_file_error_context(context, errno, filepath); |
|
|
|
|
|
|
|
|
while (fgets(buf, sizeof(phoneme), f_in) != NULL) { |
|
|
while (fgets(buf, sizeof(phoneme), f_in) != NULL) { |
|
|
buf[sizeof(phoneme)-1] = 0; |
|
|
buf[sizeof(phoneme)-1] = 0; |