Class: Win32::SpVoice
Overview
The SpVoice object brings the text-to-speech (TTS) engine capabilities to applications using SAPI automation. An application can create numerous SpVoice objects, each independent of and capable of interacting with the others. An SpVoice object, usually referred to simply as a voice, is created with default property settings so that it is ready to speak immediately.
Constant Summary
Constants inherited from SAPI5
Instance Method Summary collapse
-
#initialize ⇒ SpVoice
constructor
A new instance of SpVoice.
Constructor Details
#initialize ⇒ SpVoice
Returns a new instance of SpVoice.
183 184 185 |
# File 'lib/win32/sapi5.rb', line 183 def initialize super("{96749377-3391-11D2-9EE3-00C04F797396}") end |