Speech Service
Use the Speech Service action to convert speech-to-text and text-to-speech. For more information, see Azure Speech Services.
Complete the following steps to use the Speech Service action in your workflow:
1. Drag the Speech Service action under Azure to the canvas, place the pointer on the action, and then click or double-click the action. The Speech Service window opens.
2. Edit the Label, if needed. By default, the label name is the same as the action name.
3. To add an Azure connector type, refer to Supported Azure Connector Types.
If you previously added a connector type, select the appropriate Connector Type, and under Connector Name, select the connector.
4. Click TEST to validate the connector.
5. Click MAP CONNECTOR to execute the action using a connector that is different from the one that you are using to populate the input fields. In the Runtime Connector field, provide a valid Azure connector name. For more information about MAP CONNECTOR, see Using Map Connector.
If you selected Connector Type as None, the MAP CONNECTOR option is not available.
6. In the Resource Group list, select the appropriate resource group defined under your Azure subscription.
7. In the Speech Service Account list, select the Speech account defined in your resource group.
8. In the Select Specific Service list, select the speech service that you want to use:
Select Text to Speech and do the following:
a. In the Input Text field, enter the input text that you want to convert to voice.
b. In the Speech Voice list, select the voice for the output audio.
Select Speech to Text and do the following:
a. In the Audio FilePath field, map the output of a previous action to provide the path to an audio file.
b. In the Speech Language list, select the language of the audio file.
9. Click Done.
Output schema
Each Speech Service service has its own output schema.
Text to Speech—Returns the file name and file path of the audio file.
Speech to Text—Returns the transcribed text.
Was this helpful?