Class: Win32::SpVoice

Inherits:
SAPI5
  • Object
show all
Defined in:
lib/win32/sapi5.rb

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

Win32::SAPI5::VERSION

Instance Method Summary collapse

Constructor Details

#initializeSpVoice

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