![]() ![]() const int SAMPLES_PER_SECOND = 8000 const int BITS_PER_SAMPLE = 16 const int NUMBER_OF_CHANNELS = 1 const int BUFFER_SIZE = 160 * 2 With these projects imported, create a new class called TranscriptionEngine.įirst, define some constants for the benefit of both the speech SDK and for managing the WebSocket buffer. With this created, add the following nuget packages to the project: Now, you'll create an MVC web application for this demonstration in ASP.NET Core 3.0. Open Visual Studio and create a new project ASP.NET Core WebApplication. Save this key value offline somewhere for the moment.īuilding the Real Time Transcription Service You are looking for the Key1 value, so search for the highlighted section: Once it's deployed you are going to navigate to the Quick Start Section to gather your access keys. For demonstrative purposes, you can use the following inputs
0 Comments
Leave a Reply. |