Asynchronous Conversation Transcription: Cannot find Helper class

1283 更科 明 21 Reputation points
2022-05-26T01:13:07.44+00:00

I am trying to execute the sample code in the section "Upload the audio" of the following page.
how-to-async-conversation-transcription

The comment says "Replace with your own audio file name and Helper class which implements AudioConfig using PullAudioInputStreamCallback", but I do not know how to define "Helper class".
Please suggest the way to solve this probrem.
Thank you.

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,402 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,393 questions
0 comments No comments
{count} votes

Accepted answer
  1. romungi-MSFT 42,206 Reputation points Microsoft Employee
    2022-05-26T15:29:04.09+00:00

    @1283 更科 明 You can lookup this sample from the speech SDK repo to use the helper class.
    The method RecognitionWithPullAudioStreamAsync() uses the helper class to read the input file and when you run the sample you can input the different options on console to test the different recognition methods.

    In this scenario you can directly use the helper class file along with the rest of the sample of conversation transcription to test the scenario.

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful