
The speech synthesis fails with the error VOICE_NOT_SUPPORTED or LOCALE_NOT_SUPPORTED, depending on the unsupported parameter.

If input is text and requestPayload specifies the voice and locale, the text is synthesized to speech in the specified voice and locale.If input is text and requestPayload is empty, the text is synthesized to speech with Alexa's voice and the current locale.The following list explains how the TTS Provider module synthesizes speech depending on the input type and requestPayload: Therefore, you can leave the options parameter unspecified or supply an empty string for it. Note: You do not need to specify the requestPayload in the options parameter because currently only the default voice (Alexa’s voice) is supported. The requestPayload structure is as follows: How the TTS Provider module synthesizes speech depends on the input type and the requestPayload field in the options parameter of the PrepareSpeech message published to the Engine when request speech synthesis. Using TTS Provider Module with Different Input Types ¶ In all of the text-to-speech AASB messages that involve the provider parameter, use the string, "text-to-speech-provider", to specify the TTS provider. Specifying the TTS Provider in AASB Messages ¶ The Text-To-Speech Provider module does not require Engine configuration. Note: The module can synthesize speech only in the current locale as set by the application. If the device is disconnected from LVC, speech synthesis fails. The TTS Provider module follows the existing AVS (Alexa Voice Service) protocol to carry out speech synthesis and requires connection to the Local Voice Control (LVC) service. Providing capabilities based on the properties of the TTS provider, such as available locales.Generating speech from a text or SSML document to provide the speech to the TTS module.

The Text-To-Speech Provider module performs the following functions: Auto SDK supports one text-to-speech provider, which uses Alexa's voice as the default voice for speech synthesis. The Text-To-Speech Provider module synthesizes Alexa speech on demand.
