|
From: Jonathan D. <jo...@js...> - 2007-07-31 10:26:34
|
On 25 Jul, Dietmar Segbert <die...@gm...> wrote:
> I have downloaded the espeak-1.28-02.zip.
> Before the speak.exe was created if have done the following changes:
> speak.cpp
> wave.h:
Done for espeak 1.28.03.
> New file:
> readclause.h
> int iswalpha.h
> etc
If you put these function headers in your speech.h file, then you
don't need readclause.h, and you don't need to change dictionary.cpp
etc to include readclause.h.
> before the end of 'ifdef NEED_WCHAR_FUNCTIONS, also for the #endif:
> int towupper(int c)
> {
> if (c < 0x100) return(toupper(c));
> if ((c > MAX_WALPHA) || (walpha_tab[c-0x100]!=0xff)) return(c);
> return(c - 1); /* we know it is lower so we guess to find upper */
> }
> #endif
Done for espeak 1.28.03, but I wrote towupper() differently.
|