SpeechSynthesis
Wisej.Web.Ext.Speech.SpeechSynthesis
Last updated
Was this helpful?
Wisej.Web.Ext.Speech.SpeechSynthesis
Last updated
Was this helpful?
Namespace: Wisej.Web.Ext.Speech
Assembly: Wisej.Web.Ext.Speech (3.2.0.0)
The SpeechSynthesis interface of the Web Speech API is the controller interface for the speech service; this can be used to retrieve information about the synthesis voices available on the device, start and pause speech, and other commands besides.
Initializes a new instance of the class.
: Enables or disables the this extender. (Default: True
)
Removes all utterances from the utterance queue. If an utterance is currently being spoken, speaking will stop immediately.
target
The target object to add an extender property to.
SpeechSynthesis properties.
control
Puts the SpeechSynthesis object into a paused state.
Removes all speech extenders.
Resumes speaking if the SpeechSynthesis object was already paused.
control
speechSynthesis
Adds an utterance to the utterance queue; it will be spoken when any other utterances queued before it have been spoken.
text
: Returns or sets the language of the utterance. (Default: ""
)
: Returns and sets the pitch at which the utterance will be spoken at. (Default: 1
)
: Returns and sets the speed at which the utterance will be spoken at. (Default: 1
)
: Returns or sets the voice that will be used to speak the utterance. (Default: "native"
)
: Returns or sets the volume that the utterance will be spoken at. The default is 1 (maximum). (Default: 1
)
Returns true if can offer an extender property to the specified target component.
Returns: . true if the class can offer one or more extender properties; otherwise, false.
The for which to retrieve the speech properties.
Returns: . A instance with the SpeechSynthesis properties.
Returns: .