Get Weather by Speaking App with Azure Cognitive Services

In our previous posts, we signed up for a cognitive service subscription key and built a C# console app that listens to what a user is saying, sends the input to Microsoft Azure Cognitive Services Speech Service and returns the text. In this post, we will extend our app to get the real-time weather of a city that the user speaks when prompted. Yahoo! has a Weather API that we … Continue reading Get Weather by Speaking App with Azure Cognitive Services

Azure Cognitive Services Speech to Text Hello World in C#

In this post we will create a Windows console app that integrates with Azure Cognitive Services Speech Service to convert to text what we are speaking. In Visual Studio, create a new console app: You will see: Add Microsoft.CognitiveServices.Speech through NuGet: Click on the Solution->Configuration Manager: Change the platform to your current platform: Add the code. This is based on this sample code here. For yourapikey, use the key created here. … Continue reading Azure Cognitive Services Speech to Text Hello World in C#

Get a Microsoft Cognitive Services Subscription Key (Speech)

To get a Microsoft Cognitive Services Subscription Key, go to: https://azure.microsoft.com/en-us/try/cognitive-services/. Click on Speech APIs and select Get API Key: You may see the option to sign in or sign up: Once signed in and signed up, under Speech services click Add: You will may see the message, with links to the Quick-Start Guide and other Cognitive Services. Click Got It: You will then see your endpoint region and Keys: You can also get … Continue reading Get a Microsoft Cognitive Services Subscription Key (Speech)

Text-To-Speech Hello World in Windows

In this post, we will use the Speech Synthesizer in the System.Speech.Synthesis namespace to convert text to speech. Create a new console app in Visual Studio: Add a reference to System.Speech: Click on the Solution->Configuration Manager: Change the platform to your current platform: Add the code:   On running this, your computer will say “Hello World”. To change the voice to another voice, we can set it using SelectVoice: This … Continue reading Text-To-Speech Hello World in Windows