|
|
|
|
- Overview
- How to?
- Necessary conditions
- Using the speech synthesis in the application
Speech synthesis in the mobile applications
The phones can talk! WINDEV Mobile proposes several functions to easily use this feature in your applications for Android, iOS or Universal Windows 10 App devices. Using the speech synthesis in the application To use the speech synthesis in the application: - Initialize the options for managing the voice synthesis with SpeechSynthesisInitialize.
Remark: This function is optional. If the parameters of speech synthesis have not been defined beforehand, the default parameters will be used and the language for text reading will be the first language available for the engine of speech synthesis according to the following sequence:- Application language (default language or language defined by Nation),
- Language of device,
- English,
- Default language of engine for speech synthesis.
- Define (if necessary) the reading volume with VolumeModify (volumeMusic constant>.
- Start the reading with the following functions:
Remarks: - If no engine for speech synthesis is installed on the device, its download will be automatically proposed.
- If a new read operation is triggered while another read operation is in progress, the new read operation will start once the first one is over.
To know whether a read operation is in progress on the speech synthesis engine, use SpeechSynthesisInProgress. To stop the current read operations, use SpeechSynthesisStop.
Related Examples:
|
Android (WINDEV Mobile): Android Speech Synthesis
[ + ] This educational example explains how to manage the recognition and the speech synthesis Android. The speech synthesis is performed by using either the WLanguage functions, or an external JAR file included in the WINDEV Mobile project.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|