Package joy :: Module speak
[hide private]
[frames] | no frames]

Module speak

source code

Functions [hide private]
 
_espeak_say(text)
Uses the espeak speech synthesis engine to read text aloud
source code
 
_nospeak_say(text)
*** Speech synthesis is disabled ***
source code
 
getEngineName()
Returns engine name for speech synthesis engine, or '' if speech is not supported.
source code
 
say(text)
Uses the espeak speech synthesis engine to read text aloud
source code
Variables [hide private]
  __SYNTH = None
hash(x)
  esp = Popen("espeak -x -q okay >/dev/null 2>/dev/null", shell=...
Function Details [hide private]

_espeak_say(text)

source code 

Uses the espeak speech synthesis engine to read text aloud

This function uses a single instance of espeak throughout its life. This subprocess is created when the first call is made.

_nospeak_say(text)

source code 

*** Speech synthesis is disabled ***

Do you have espeak installed?

say(text)

source code 

Uses the espeak speech synthesis engine to read text aloud

This function uses a single instance of espeak throughout its life. This subprocess is created when the first call is made.


Variables Details [hide private]

esp

Value:
Popen("espeak -x -q okay >/dev/null 2>/dev/null", shell= True)