not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.1 KiB

  1. The eSpeak homepage is: http://espeak.sourceforge.net
  2. Compiling
  3. =========
  4. The src directory contains a makefile that produces:
  5. 1. "libspeak.so.1.xx". (where xx is a version number)
  6. This is a shared library which contains the text to speech engine.
  7. Its API is described in the file "speak_bin.h".
  8. 2. "espeak" binary. This is a small command-line program which is a front
  9. end to the libespeak library, which it needs.
  10. 3. "speak" binary. This is a command-line program which contains the
  11. text to speech engine. It does not use the libespeak library.
  12. When run, the "speak" and "espeak" programs expect to find the espeak-data
  13. directory either in the user's home directory, or if not there, in /use/share.
  14. Portaudio.
  15. ==========
  16. The "speak" program uses the PortAudio sound interface library. There are two
  17. versions, V18 and V19 and their APIs are different. Some Linux distributions
  18. use V18 (eg. Debian, Ubuntu) others (eg. SuSe) use V19.
  19. To compile to use a particular version of the PortAudio library, first copy
  20. either portaudio18.h or portaudio19.h to portaudio.h.
  21. If you don't need eSpeak to output sound, but only to produce WAV files,
  22. then you can remove or comment out the following line in speech.h.
  23. This will mean that eSpeak doesn't use any PortAudio functions.
  24. #define USE_PORTAUDIO
  25. Compiling Data
  26. ==============
  27. You can modifiy spelling-to-phoneme rules and exceptions and re-compile this
  28. data with the speak program (see docs/dictionary.html). In summary, edit
  29. the dictsource/**_rules and dictsource/**_list files and compile using:
  30. espeak --compile=**
  31. where ** is the language code (eg. en for English).
  32. In order to modify the sounds or other characteristics of phonemes, or
  33. to add additional phonemes, another program "espeakedit" is needed. This
  34. is provided in a separate package.
  35. PowerPC and Big-Endian Processors
  36. =================================
  37. The compiled data in the espeak-data directory is not binary compatible between
  38. processors with different byte ordering. For a PowerPC or other big-endian
  39. processor use must use data which has been compiled (using espeakedit) on
  40. a big-endian processor.