orca.speech (version 1973, $Date$)
index
/usr/lib/python2.5/site-packages/orca/speech.py

Manages the default speech server for orca.  A script can use this
as its speech server, or it can feel free to create one of its own.

 
Modules
       
orca.debug
logging
orca.orca_state
orca.platform
orca.settings
time

 
Functions
       
decreaseSpeechPitch(script=None, inputEvent=None)
decreaseSpeechRate(script=None, inputEvent=None)
getSpeechServerFactories()
Imports all known SpeechServer factory modules.  Returns a list
of modules that implement the getSpeechServers method, which
returns a list of speechserver.SpeechServer instances.
increaseSpeechPitch(script=None, inputEvent=None)
increaseSpeechRate(script=None, inputEvent=None)
init()
isSpeaking()
"Returns True if the system is currently speaking.
reset(text=None, acss=None)
sayAll(utteranceIterator, progressCallback)
shutdown()
speak(text, acss=None, interrupt=True)
Speaks all queued text immediately.  If text is not None,
it is added to the queue before speaking.
 
Arguments:
- text:      optional text to add to the queue before speaking
- acss:      acss.ACSS instance; if None,
             the default voice settings will be used.
             Otherwise, the acss settings will be
             used to augment/override the default
             voice settings.
- interrupt: if True, stops any speech in progress before
             speaking the text
speakUtterances(utterances, acss=None, interrupt=True)
Speaks the given list of utterances immediately.
 
Arguments:
- list:      list of strings to be spoken
- acss:      acss.ACSS instance; if None,
             the default voice settings will be used.
             Otherwise, the acss settings will be
             used to augment/override the default
             voice settings.
- interrupt: if True, stop any speech currently in progress.
stop()
test()
testNoSettingsInit()

 
Data
        __copyright__ = 'Copyright (c) 2005-2006 Sun Microsystems Inc.'
__date__ = '$Date$'
__id__ = '$Id$'
__license__ = 'LGPL'
__version__ = '$Revision$'
log = <logging.Logger instance at 0x40601a8c>