Introduction
The Azure Cognitive services contain excellent options called Azure OpenAI and Speech service. In the Speech service, we can use our text-to-speech or voice-to-text. This demo will teach us to deploy Text to Speech using Azure Cognitive Services.
Step 1. In the Azure portal, type Cognitive services in the global search bar and hit enter.
Step 2. Click Speech service under the Speech in the Cognitive services, then click + Create.
Step 3. Select the Subscription and the resource group. In the Instance details, choose Free F0 and click Next: Networking.
Step 4. In the Networking Type, there are three options; if you want to access this service publically, we can select All networks. If we need to access the services only for selected networks, we can choose Select Networks and select the Ip address. Click Next: Identity.
Step 5. Leave it as default in the Identity tab and click Create.
Step 6. After successfully deploying, go to the resource group, open the Speech service, and click the Go to Speech Studio button.
Step 7. Once you click the Go to Speech Studio button, the below URL will open the browser.
https://speech.microsoft.com/portal
Step 8. In the speech.microsoft.com portal, click Audio Content Creation to start an Audio Content Creation project.
Step 9. In the Speech Studio, go to My Files, click + New, and click Text file.
Step 10. We can select Language and Voice in the Speech Studio. If we want to test the voice, click the Name and Play button.
Step 11. Type the sentence, select the voice, and click the play button; once the sentence is completed, we can export the voice clip.
Summary
In this article, we learned about Deploying Text to Speech services using Azure Cognitive Services; if you have any questions, feel free to comment under the article.