Text-to-Speech Utility


This utility program can be used to create a WAV file from text input using text to speech. For more information see the topic Using Text-to-Speech.

FFTESTTS will convert either a single entered phrase or one or more XML or TXT files each containing a phrase to be spoken.  When a file or files are to be converted, you specify a folder name and the .WAV file will be written there with the same basename as the input file. For indivdual phrase conversion you need to specify an output WAV file.

If you enable the Speak checkbox, the file will be spoken, either as well as conversion or instead of conversion to a WAV file. A machine with a sound capability is required: if not an error will be reported.  One of the options IsXML, IsSSML, NoXML, SAPI can be selected to force the interpretation of the text.  For details, see $tts_file.

Normally, you will use this program only to create WAV files for 'constant' phrases, with no embedded variables or conditionals.  However in case you want to test the interpretation of variables, you can place variable definitions ($var_def) either in FAXFACTS.CFG or in a special file FFTESTTS.FST file in the FAXFACTS folder, if present. Using the latter file allows you to experiment with variable values without having to edit FAXFACTS.CFG.  FFSTESTTS.FST is used only by this program.

FFTESTTS uses the interface DLL, voice file and output format selected by the $tts_dll command in FAXFACTS.CFG.  The voice name displayed initially on the screen is the name substring from $tts_dll.  After the first conversion has been done, the field shows the full name of the selected voice.

When the command is used to convert a single phrase select the without parameters, select the button for 'Text to be spoken' and enter the text in the box below:


When you need to convert a set of files to WAV from XML, you can load the list of XML files and convert them all.  The background color changes to help identify this mode.  To convert just one file from the list, double-click the line.


You can use this utility to create and test prompts in non-English languages also: