In Chapter 1, Getting Started with Microsoft Cognitive Services, we utilized a part of the Bing Speech API. We gave the example application the ability to speak sentences to us. We will use the code created in that example now, but we will dive a bit deeper into the details.
We will also go through the other feature of Bing Speech API, converting spoken audio to text. The idea is that we can speak to the Smart-House application, which will recognize what we are saying. Using the textual output, it will use LUIS to get the intent of our sentence. In case LUIS needs more information, the application will politely ask us with audio.
To get started, we want to modify the build definition of the Smart-House application. We need to specify whether we are running it on a 32-bit or a 64-bit OS. To utilize speech-to-text conversion, we want to install...