Overview
  

This library provides text to speech capability for the desktop only. Within SpeechLibDesktop.dll for the desktop you will find the SpeechLibDesktop object.

The file Interop.SpeechLib.dll must be in the same directory as your Basic4PPC application together with the SpeechLibDesktop.Dll file.


Methods

SaySync(Text AS String) : Speaks the text given and blocks until finished. Note that all the speaking events are queued until this call returns and are then raised.

SayAsync(Text AS String) : Speaks the text given and returns immediately. All speaking events occur as they happen.


Properties

I signifies readable and O signifies settable..

SpeechRate : Integer [I/O] : Value between -10 and +10 determining the rate of speech. Default is 0

Voice : Integer [I/O] : Value between 0 and the number of voices installed on the system less one. Selects which voice to use. Default is 0 - te first voice

Voices : Integer [I] : The number of voices installed on the system. Readonly.

Volume : Integer [I/O] : Value between 0 and 100 determining The volume at which the speech is spoken. Default is 100 - maximum volume


Events

StartedSpeaking : Occurs when the speech engine starts speaking.

EndedSpeaking :Occurs when the speech engine completes speaking the text.

EndedSentence : Occurs at the end of every sentences spoken by the speech engine.

EndedWord : Occurs at the end of every word spoken by the speech engine.