Yes, you are right, you are using Speech SDK code sample for C#.
For more reference, please check below code repo and code samples:
Hope this helps!
Please kindly accept the answer if you feel this is helpful! Thank you.
Regards,
Yutong
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi
I just started learning Azure and speech services. I built a small tutorial console app (code below). The tutorial had me download Nuget package Microsoft.CognitiveServices.Speech.
Question: I assume I am using the Speech to Text SDK? Or is the code below making Rest API calls under the covers and I am actually using Rest Api's?
private static async Task RecognizeSpeech()
{
var configuration = SpeechConfig.FromSubscription"abc""eastus");
using (var recog = new SpeechRecognizer(configuration))
{
Console.WriteLine("Start Speaking...");
var result = await recog.RecognizeOnceAsync();
if (result.Reason == ResultReason.RecognizedSpeech)
{
Console.WriteLine(result.Text);
}
}
}
Thanks in advance!
Yes, you are right, you are using Speech SDK code sample for C#.
For more reference, please check below code repo and code samples:
Hope this helps!
Please kindly accept the answer if you feel this is helpful! Thank you.
Regards,
Yutong