Steel TTS Wiki
A cross-platform wrapper for common text-to-speech engines in Python
Status: Beta
Brought to you by:
gwenndragon
Most of Steel's functions are specific to each of the engine wrappers, but there are a few general-purpose functions available.
steel.
available_engines()
Returns a list of available text-to-speech engines installed on computer.
Possible values are: 'eSpeak', 'SAPI5', 'NSSS', 'FreeTTS'.
Example Usage:
>>> import steel
>>> print steel.available_engines()
['eSpeak','SAPI5']
steel.
play_wav(
path
)
Plays the .wav file at the specified path.
Uses native audio I/O on Windows, afplayer
on Mac OS X, and either mplayer
or sox
on Linux.
Example Usage:
>>> import steel
>>> steel.play_wav("~/hello.wav")