[Speech to text] How do I configure the AudioConfig object to an AudioBuffer Object?

Muhsin Wahi-Anwar 1 Reputation point
2021-03-28T01:17:47.013+00:00

Hello,

I'm trying to get some audio inputs working and want to use an mozilla/HTML AudioBuffer object as an input for some speech identification.

What kind of AudioConfig object should I use? Currently I'm going with
sdk.AudioConfig.fromWavFileInput(AudioBuffer);

Is this good?

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. YutongTie-9091 54,016 Reputation points Moderator
    2021-03-29T15:54:05.32+00:00
    0 comments No comments

  2. Muhsin Wahi-Anwar 1 Reputation point
    2021-03-30T00:55:47.587+00:00

    Awesome. When I input an audio stream into into the audio config and use the recognizer, will the recognizer be able to 'listen' to the audio instantaneously? Or does it send the audio data in real time?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.