How to build
- You need mingw environment, with pthread and portaudio.
- Download espeak source code from repository, r364 (svn://svn.code.sf.net/p/espeak/code/trunk). A later checkout may already contain the patches. In such case don't apply them. Alternatively download espeak_r364_modified.zip and skip the next point.
- Apply patches 12 and 13.
- Build using instructions from platforms\windows\windows_mingw, see ticket 13 mentioned above.
To use the library you have to:
- Install current version for Windows, downloaded from eSpeak. That sounds strange, because we built the library ourselves. However we don't build phoneme data which is a complicated process. It's better to pull the data from distribution files. During installation eSpeak sets the registry entires leading to the correct data directory. This entry will be used also by our version of the library.
- Install libespeak.dll together with libportaudio-2.dll and libpthread-2.dll.
- You are a developer, you know what to do with a library. A sample usage is at docs/sample in the source download below.
- eSpeak - GNU GPL 3, distribute the source code together with the library. Here is the complete source code with all necessary modifications applied.
- portaudio - the license is easier to comply with than GNU GPL, see the page here about portaudio.
- pthread - GNU LGPL 2.1, typical library license. Source code must be distributed. We use the library without modifications, so just offering the same file as from MinGW download section. I used the 2.8.0-3 version, the files are here: bin, dev, src
- gcc - this software is built using GCC library (which is generally covered by GNU LGPL) and contains statically linked parts of it. However there is a special exception to the part of gcc library, that allows to use and distribute it without supplying the corresponding source code. The exception of the license is inside the binary download, file LICENSE_gcc.txt. For all the gcc licensing documents download the gcc source code, for example from the suitable MinGW directory. The file gcc/libgcc2.c contains the important notice.
This is provided without any warranty, use it at your own risk and responsibility. espeak_async_dll.zip.