Menu

Core Functions

Gwenn

Core Functions

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")

Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.