revSetSpeechProvider | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | speech library | ||||||
Summary | The speechProvider is either "sapi4", "sapi5" or "speechmanager", or empty for the default. | ||||||
Introduced | 2.8.1 | ||||||
OS | mac, windows | ||||||
Platforms | desktop, server | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Command: revSetSpeechSpeed, revUnloadSpeech, revUnloadSpeech, revSetSpeechVolume Function: result, revSpeechVoices Glossary: Standalone Application Settings, standalone application, command, LiveCode custom library Library: Speech library | ||||||
Description | Sets the API that LiveCode uses to speak. SAPI4 and SAPI5 are only supported on Windows. SpeechManager is only supported on OS X. If an invalid API is specified, the default API for the currrent platform will be used. Changes to the speech provider will take affect straight away if the speech library was not loaded (i.e. nothing has been spoken), otherwise they will not take affect until the speech library is reloaded using the revUnloadSpeech command followed by the revLoadSpeech command. The default is speechManager on OS X and SAPI5 on Windows (falling back to SAPI4 if SAPI5 is not supported).
|