| Jampal mp3 Library |
|
Summary of Features Detailed Features What's New? Download Installation & Getting Started License & acknowledgements Project Info User's Guide Utilities Author My Other Projects
|
Simple text to speech command line program This is a very simple Microsoft Windows command line program to convert text to speech. If uses the Microsoft Text to Speech Engine and the Microsoft Speech SDK. THe Text to Speech Engine is installed with Windows XP with one voice of somewhat poor quality. The Jampal installation program includes two better sounding voices.
The text can be keyed in or read from a text file. The sound can be output to the computer
sound system or sent to a wave file.
Text is read from standard input or can be read from a file using a redirect, for example, to read aloud
a text file:
To create a wav file from the text file (e.g create an audio book ;) ):
Adjust the speech and voice defaults using the speech control panel option. Customization of the speech can also be performed using XML. For details see Speech XML Format and Speech Phonemes. If XML is included, there must be an XML tag as the first character of the text. If you don't need any XML at the start of the text, include <> at the beginning. There is a lexicon associated with each user in Windows. This is used by Jampal as well as ptts. You can update the lexicon to correct the speech engine pronounciation of certain words. The -la option (see below) updates the lexicon for jampal as well as ptts. For example the speech engine does not know how to pronounce Qntal, so it says "Bleah" when it sees Qntal in the input. The following command corrects it. For details of the phonemes in quotes, see Speech Phonemes. ptts -la Qntal "k w ih n t ao 1 l" Usage Typing the ptts command with -h will list out the available options. Usage: ptts [options]
|