Speech Synthesis component (Azure Cloud Speech)
Description
Performs text-to-speech synthesis and playback to the current caller.
Azure Speech Cloud is used, channel REST HTTP (streamed). +
For MS Azure account registration procedure and service cost see on https://learn.microsoft.com/en-us/azure/ai-services/speech-service/.
Setting up a connection under domain settings, field 'azure_cloud'.
Allows you to play back the result, as well as simply record it to an audio file.
In playback mode, speech starts playing when 1.5 seconds of data appears in the data buffer.
Depending on whether caching is configured on the synthesis service and whether the data for the synthesized text is available, the output of the first one and a half seconds may take 300 to 1500 ms.
Index |
|
Short title |
|
Types of scenarios |
|
Starter module |
|
Mode |
Asynchronous |
Icon |
![]() |
Branching pattern |
Branching, interrupting |
Properties
Specification | Description |
---|---|
Title: |
Specifies the account that defines the connection points to the service Microsoft Azure Speech. |
Title: |
Component operation mode after receiving a response from the service TTS Azure Speech.
|
Title: |
The format of data transmitted in the request body (content_type).
|
Title: |
SSML markup with text. Example: <speak version='1.0' xml:lang='en-US'> <voice xml:lang='en-US' xml:gender='Male' name='en-US-ChristopherNeural'> I'm excited to try text to speech! </voice> </speak> Details in the documentation Azure TTS (https://learn.microsoft.com/en-us/azure/ai-services/speech-service/rest-text-to-speech?tabs=streaming) |
Title: |
Speech synthesis results caching mode. Caching is intended to speed up the output of results when the same jobs are frequently accessed by the synthesis service, as well as to reduce the load on the synthesis service. The first time the file is generated by the service and saved to the folder if the value is missing ':GlobalShare/domains/DOMAIN/cache/sber_tts/…'. The unique file name hides the mapping of synthesis parameters: text, language, voice. Possible options:
|
Title: |
DTMF detector switch. Opens the settings for the character save and operation interrupt modes. |
Title: |
Variable to store received DTMF characters. |
Title: |
Buffer pre-clearance switch DTMF. |
Title: |
An argument containing a limit on the number of characters that can be entered. |
Title: |
A string containing sequences of interrupt characters separated by commas. |
Title: |
Timeout to wait for a response from the TTS Azure Speech service after sending it a request. |
Title: |
Variable to store the HTTP response code of the recognition service. |
Title: |
Variable to save the path to the synthesized speech audio file in the local temporary directory. |
Title: |
The component to which control is passed if the operation is successfully completed. |
Title: |
The component to which control is passed when the time to wait for an HTTP response from the service has expired. |
Title: |
The component to which control is passed if an error occurs. |