eSpeak dll library for MS Windows with full functionality

Anything
Awatar użytkownika
admin
Site Admin
Posty: 104
Rejestracja: ndz lip 17, 2011 8:51 am

eSpeak dll library for MS Windows with full functionality

Post autor: admin »

eSpeak is open-source (GNU GPL 3) cross-platform text to speech (TTS) library and command line utility. However the Windows library that may be built using files provided in windows_dll directory is not fully functional. Details in mailing list post asynchronous library for windows with portaudio sound. Here I describe how to obtain fully functional library and provide binaries to download.

How to build
  1. You need mingw environment, with pthread and portaudio.
  2. 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.
  3. Apply patches 12 and 13.
  4. Build using instructions from platforms\windows\windows_mingw, see ticket 13 mentioned above.
How to use

To use the library you have to:
  1. 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.
  2. Install libespeak.dll together with libportaudio-2.dll and libpthread-2.dll.
  3. You are a developer, you know what to do with a library. A sample usage is at docs/sample in the source download below.
Respect the licenses
  • 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.
Download dll library

This is provided without any warranty, use it at your own risk and responsibility. espeak_async_dll.zip.
ODPOWIEDZ