Text-to-speech (speaker) back-ends¶
Contents
SpeakerBase text-to-speech class¶
The dragonfly.engines.engine.base.SpeakerBase
class forms the base
class for the specific text-to-speech (speaker) classes. It defines the
stubs required and performs some of the logic necessary for Dragonfly to be
able to interact with a text-to-speech engine.
SAPI 5 text-to-speech class¶
-
class
Sapi5Speaker
[source]¶ This speaker class uses the SAPI 5 text-to-speech functionality. It is available on Microsoft Windows Vista and above.
It has no specific requirements other than the pywin32 library, which is required to use Dragonfly on Microsoft Windows.
-
name
¶ The human-readable name of this speaker.
-
Natlink and DNS text-to-speech class¶
eSpeak text-to-speech class¶
-
class
EspeakSpeaker
[source]¶ This speaker class uses eSpeak to synthesize specified text into speech.
The
espeak
command-line program must be installed in order to use this implementation. eSpeak is available on most platforms.-
name
¶ The human-readable name of this speaker.
-
speak
(text)¶ Speak the given text using text-to-speech.
-
CMU Flite text-to-speech class¶
-
class
FliteSpeaker
[source]¶ This speaker class uses CMU Flite to synthesize specified text into speech.
The
flite
command-line program must be installed in order to use this implementation. CMU Flite is available on most platforms.-
name
¶ The human-readable name of this speaker.
-
speak
(text)¶ Speak the given text using text-to-speech.
-