How to send the websocket request for real time automatic speech recognition? Google cloud speech is prone to high latency(>2s).

Nitish Kumar 50 Reputation points
2024-01-05T18:58:08.0666667+00:00

Hi,

We have been heavily using google ASR and want to migrate to Azure speech recognition. Any guide would be appreciated.

Currently we are using: https://github.com/fonoster/fonoster/tree/main/mods/googleasr

We want to write package for @fonoster/azureasr.

It seems, most of the changes has to be made in https://github.com/fonoster/fonoster/blob/main/mods/googleasr/src/tracker.ts for sending websocket request to azure speech instead of google ASR.

Would appreciate the help. It would be even great if you could write the package itself :).

Best,

Nitish

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
2,069 questions
{count} votes

Accepted answer
  1. VasaviLankipalle-MSFT 18,676 Reputation points Moderator
    2024-01-06T03:32:01.2933333+00:00

    Hello @Nitish Kumar , Thanks for using Microsoft Q&A Platform.

    We appreciate your interest to migrate from Google ASR to Azure Speech Recognition.

    For real-time transcription we support speech SDK and REST API. In this documentation you will learn how to recognize and transcribe speech to text in real time: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-recognize-speech?pivots=programming-language-javascript

    Speech containers provide WebSocket-based query endpoint APIs that are accessed through the Speech SDK and Speech CLI. Ihttps://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-recognize-speech?pivots=programming-language-javascript#run-and-use-a-container

    Additionally, this Github sample shows how to integrate the Azure Speech service into a sample React application; https://github.com/Azure-Samples/AzureSpeechReactSample

    Here is a similar thread where customer found the above Github sample was helpful, try to check if this helps.

    I hope this helps.

    Regards,
    Vasavi

    -Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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