Package pyTTS :: Module sapi :: Class SynthOnly
[show private | hide private]
[frames | no frames]

Type SynthOnly

object --+    
         |    
      Base --+
             |
            SynthOnly


Defines a method for synthesizing speech with associated events to memory as quickly as possible. The audio data may be spoken later by another audio output library.
Method Summary
2-tuple of SAPI.SpMemoryStream and list of VoiceEvent Speak(self, text, *flags)
Speaks text with the optional flag modifiers to a memory buffer.
Inherited from Base: __init__, __del__, CheckFlags, GetRate, GetVoice, GetVoiceNames, GetVoices, GetVolume, Repeat, SetOutputFormat, SetRate, SetVoice, SetVoiceByName, SetVolume
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Property Summary
Inherited from Base: Rate, Voice, Volume

Instance Variable Summary
Inherited from Base: format, last_speech, speech, valid_flags, voices

Method Details

Speak(self, text, *flags)

Speaks text with the optional flag modifiers to a memory buffer. Text can include XML commands. All events associated with the speech are created in a separate buffer.
Returns:
Audio data and event data
           (type=2-tuple of SAPI.SpMemoryStream and list of VoiceEvent)
Overrides:
pyTTS.sapi.Base.Speak

Generated by Epydoc 2.1 on Fri Feb 18 13:59:28 2005 http://epydoc.sf.net