Partager via


SpeechVoiceEvents (SAPI 5.3)

Microsoft Speech API 5.3

SpeechVoiceEvents Enum

The SpeechVoiceEvents enumeration lists the types of events which a text-to-speech (TTS) engine can send to an SpVoice object.

Definition

  Enum SpeechVoiceEvents
    SVEStartInputStream = 2
    SVEEndInputStream = 4
    SVEVoiceChange = 8
    SVEBookmark = 16
    SVEWordBoundary = 32
    SVEPhoneme = 64
    SVESentenceBoundary = 128
    SVEViseme = 256
    SVEAudioLevel = 512
    SVEPrivate = 32768
    SVEAllEvents = 33790
End Enum

Elements

  • SVEStartInputStream
    Represents the StartStream event, which occurs when the engine begins speaking a stream.
  • SVEEndInputStream
    Represents the EndStream event, which occurs when the engine encounters the end of a stream while speaking.
  • SVEVoiceChange
    Represents the VoiceChange event, which occurs when the engine encounters a change of Voice while speaking.
  • SVEBookmark
    Represents the Bookmark event, which occurs when the engine encounters a bookmark while speaking.
  • SVEWordBoundary
    Represents the WordBoundary event, which occurs when the engine completes a word while speaking.
  • SVEPhoneme
    Represents the Phoneme event, which occurs when the engine completes a phoneme while speaking.
  • SVESentenceBoundary
    Represents the SentenceBoundary event, which occurs when the engine completes a sentence while speaking.
  • SVEViseme
    Represents the Viseme event, which occurs when the engine completes a viseme while speaking.
  • SVEAudioLevel
    Represents the AudioLevel event, which occurs when the engine has completed an audio level change while speaking.
  • SVEPrivate
    Represents a private engine event.
  • SVEAllEvents
    Represents all speech voice events.