question

1283-0794 avatar image
0 Votes"
1283-0794 asked romungi-MSFT answered

Asynchronous Conversation Transcription: Cannot find Helper class

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-cognitive-servicesazure-speech
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

romungi-MSFT avatar image
0 Votes"
romungi-MSFT answered

@1283-0794 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.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.