- Text to Speech
- SSML
This code is provided for demo purposes only for course AI-102.
- Azure Subscription
- Node.js (optional)
- VS Code (optional)
-
Follow the link to demonstrate text to speech capabilities by providing sample text and select voice to synthesize a speech.
-
Switch to SSML tab and provide content of
SSML.txt
file
-
Build new if it does not exist cognitive multi-service in Azure portal.
-
Open speech portal https://speech.microsoft.com/portal and sign in with your azure subscription account.
-
Demonstrate several voices from
Voice Gallery
. Some of the voices support emotion. -
Switch to the Audio content creation. You can add a different voices from
Voice Gallery
and use SSML markup to manage pronunciation.
-
For successful run you need to install SoX and related NPM package.
-
The code based on the hands-on example converted to Node.js and adopted to execute on RPi. The sample is working with a microphone and expects input like 'What time is it?'
-
Original code and installation instruction can be found in following repo
The sample includes Speech recognition and Speech synthesizing code examples.