Internal: |- preamble -|- downloads -|- end -|
2010-12-30 - For some time now I have been quietly fascinated in the digital process of converting 'text' to spoken speech. At some stage earlier I experimented, in WIN32, with the University of Edinburgh's Festival, or the Debian release package Festival, but did not really get anywhere in a WIN32 context...
Then recently the FlightGear development list contained a pointer to a 'Festival Lite', perhaps starting with the Debian flite 1.2 package, and continued by the Carnegie Mellon University (CMU), to flite 1.4, October 2009. This was not too difficult to compile in an XP WIN32 machine, using MSVC8 (2005).
I was able to download, and compile 'flite 1.4' in both Ubuntu (linux), and MicroSoft Windows
XP, using MSVC8 (2005), and it worked ;=)) Running (in XP) -
> bin\flite_main "A big hello to the world" hello.wav
produced the following sound file -
To listen, click [Play]
If your browser has a way to 'play' WAV files, perhaps through Quicktime, or some other 'association' with .wav, then you should hear the phrase repeated until stopped...
The source comes with MSVC sln/vcproj files, but I chose not to use these. They seem to take a multiple DLL approach, and for this test I wanted a static library, so set about building my own MSVC DSW/DSP build set, in a new 'msvc' folder. In this regard I used my perl scripts, createdsp, to create the relevant build files.
So it should be a simple matter to load 'flites.dsw' into the MSVC version of your choice, allow it to convert these to its own format, and build the projects... The executables are placed in 'msvc\bin', and the static libraries in 'msvc\lib'...
There is a test-flite.bat batch file to run some quick test on the Release version of flite_main.exe...
Take care downloading and running executables from the web!
|org||contains the original flite-1.4-release.tar.bz2|
|src||my complete WIN32 (modified) source.|
|msvc||just the new 'msvc' folder contents|
|libR||Release lib_flite.lib static library|
|binB||Both Release and Debug executables|
|libB||Both Release and Debug static libraries.|
|(a) Original flite-1.4-release.tar.bz2|
|(b) patched with|
|2010/12/30||flite-1.4-patch.txt||24,285||patch to be applied to original|
|and (c) add the new 'msvc' folder|
|= full WIN32 source = a + b + c|
That is, the flite-1.4-patch.txt could be applied to flite-1.4-org.zip, and flite-1.4-msvc.zip unzipped, creating the new folder 'msvc', and this should be the SAME as flite-1.4-src.zip ;=))
hello.wav EOP - flite.htm