loadingislamic.blogg.se

Sapi spvoice change voice
Sapi spvoice change voice










sapi spvoice change voice

The Speak method inserts a stream into the text-to-speech (TTS) engine's queue, and returns a stream number, assigned by the engine. When a voice enqueues more than one stream by speaking asynchronously, the stream number is necessary to associate events with the appropriate stream. Default value is SVSFDefault.Ī Long variable containing the stream number. Parameters Text The text to be spoken, or if the SVSFIsFilename flag is included in the Flags parameter, the

sapi spvoice change voice

The WaitUntilDone and SpeakCompleteEvent methods can be used to block an application's forward progress while allowing user interaction with the mouse or keyboard. This may be acceptable for simple applications, or those with no graphical user interface (GUI), but when sophisticated user interaction is intended, asynchronous speaking will generally be more appropriate. When synchronous speech is used in an application, the application's execution is blocked while the voice speaks, and the user is effectively locked out. When called synchronously, the method does not return until the text has been spoken when called asynchronously, it returns immediately, and the voice speaks as a background process. The Speak method can be called synchronously or asynchronously. The Speak method initiates the speaking of a text string, a text file, an XML file, or a wave file by the voice.












Sapi spvoice change voice