{96749377-3391-11D2-9EE3-00C04F797396}

SpVoice Class

Registry

InprocServer32

C:\Windows\System32\Speech\Common\sapi.dll
  • ThreadingModel: Both

ProgID

SAPI.SpVoice.1

TypeLib

{C866CA3A-32F7-11D2-9602-00C04F8EE628}

Version

5.4

VersionIndependentProgID

SAPI.SpVoice

Instance

  • Type: ComObject

Methods

  • Speak: int Speak (string, SpeechVoiceSpeakFlags)
  • SpeakStream: int SpeakStream (ISpeechBaseStream, SpeechVoiceSpeakFlags)
  • Pause: void Pause ()
  • Resume: void Resume ()
  • Skip: int Skip (string, int)
  • GetVoices: ISpeechObjectTokens GetVoices (string, string)
  • GetAudioOutputs: ISpeechObjectTokens GetAudioOutputs (string, string)
  • WaitUntilDone: bool WaitUntilDone (int)
  • SpeakCompleteEvent: int SpeakCompleteEvent ()
  • IsUISupported: bool IsUISupported (string, Variant)
  • DisplayUI: void DisplayUI (int, string, string, Variant)

Properties

  • Status: ISpeechVoiceStatus Status () {get}
  • Voice: ISpeechObjectToken Voice () {get} {set by ref}
  • AudioOutput: ISpeechObjectToken AudioOutput () {get} {set by ref}
  • AudioOutputStream: ISpeechBaseStream AudioOutputStream () {get} {set by ref}
  • Rate: int Rate () {get} {set}
  • Volume: int Volume () {get} {set}
  • AllowAudioOutputFormatChangesOnNextSet: bool AllowAudioOutputFormatChangesOnNextSet () {get} {set}
  • EventInterests: SpeechVoiceEvents EventInterests () {get} {set}
  • Priority: SpeechVoicePriority Priority () {get} {set}
  • AlertBoundary: SpeechVoiceEvents AlertBoundary () {get} {set}
  • SynchronousSpeakTimeout: int SynchronousSpeakTimeout () {get} {set}

MIT License. Copyright (c) 2021 Strontic.