Speak to file
An action block that speaks a message
using text-to-speech (TTS) to an audio file.
The fiber will pause until the audio file has been saved.
Use the Speak block for direct audio playback.
The path can be set to an existing or new file, or to a directory where the file will be placed with an automatic name.
The path to the actual WAV audio file saved is assigned to the audio file variable.
- Proceed — when the fiber should proceed.
- Message — message to speak.
- Language — language of the message, default is the device language.
- Engine — TTS engine to use, default is the built-in engine.
- Path — file or directory path where the audio file will be saved, default is a WAV file in the Android “notification sound” directory.
- Audio file — variable to assign the path to the WAV audio file.