Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucarda committed Jun 2, 2022
1 parent d9c8cd2 commit ee3b940
Showing 1 changed file with 14 additions and 32 deletions.
46 changes: 14 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,38 @@
README for Pd external distribution 'pd-flite'

Last updated for version 0.01
Last updated for version 0.03

# DESCRIPTION

The 'pd-flite' distribution contains a single Pd external ("flite"),
which provides a high-level text-to-speech interface for English based on
the 'libflite' library by Alan W Black and Kevin A. Lenzo.

Currently tested only under linux.
'libflite' lives at https://github.com/festvox/flite

# REQUIREMENTS
# WINDOWS BUILD

- libflite >= v1.1
With MSYS2 install the ntldd package:

The 'libflite' library by Alan W Black and Keven A. Lenzo
is required to build the Pd 'flite' external.
It is available from http://cmuflite.org.
pacman -S mingw32/mingw-w64-i686-ntldd-git

You may want to apply the patch 'libflite-noaudio.patch'
which comes with this distribution to the 'libflite'
sources before compiling them (the '--with-audio=none'
configure flag did not work for me on its own).
pacman -S mingw64/mingw-w64-x86_64-ntldd-git

# INSTALLATION
Then cd MinGW to this repo and do:

First, build and install the libflite distribution.
make

Then, issue the following commands to the shell:
or you can also specify more options with:

cd PACKAGENAME-X.YY (or wherever you extracted this distribution)
make
make install
make PDDIR=<path/to/pd-directory>

# BUILD OPTIONS
then do this command that installs and fills the `pthread` dependencies on the output dir:

The build process allows to specify the voice to use via the
'VOICE' variable (can be one of `kal16`, `kal`, `awb`, `rms`, `slt`).
make localdep_windows

If you have installed libflite into a non-standard location, you can specify
additional search paths via the `LDFLAGS` and `CPPFLAGS` variables.
or with more options:

Example (using default values):

make VOICE=kal16 CFLAGS="-I/usr/include/" LDFLAGS="-L/usr/lib/"


For a list of generic variables to tweak, see also:

make vars
make PDLIBDIR=<path/you/want-the/output> extension=<m_i386 or m_amd64> localdep_windows

# ACKNOWLEDGEMENTS

Expand All @@ -64,8 +48,6 @@ from code by Guenter Geiger, Larry Troxler, and iohannes m zmoelnig.

It gobbles memory, and also processor time on synthesis operations.

No support for alternative voices or lexica, and no
mid- or low-level interface to the libflite functions.

# AUTHOR

Expand Down

0 comments on commit ee3b940

Please sign in to comment.