|
From: Dietmar S. <die...@gm...> - 2007-07-27 16:45:31
|
Hello,
if i make a change in speak.cpp for the --compile option like this:
if(flag_compile)
{
#ifdef PLATFORM_DOS
char path_dsource[120];
strcpy(path_dsource,path_home);
path_dsource[strlen(path_home)-11] = 0; // renove "espeak-data" from the end
strcat(path_dsource,"dictsource\\");
CompileDictionary(path_dsource,dictionary_name,NULL,NULL);
#else
#ifdef PLATFORM_WINDOWS
char path_dsource[120];
strcpy(path_dsource,path_home);
path_dsource[strlen(path_home)-11] = 0; // renove "espeak-data" from the end
strcat(path_dsource,"dictsource\\");
CompileDictionary(path_dsource,dictionary_name,NULL,NULL);
#else
CompileDictionary(NULL,dictionary_name,NULL,NULL);
#endif
#endif
exit(0);
}
the --compile switch will work.
speak -v de --compile
command will compile the de_dict correctly.
If I create a wave-file with vocals like ä ö ü, this vocals will not be
spoken.
Any idea?
Regards
Dietmar
|