question

PaulRyan-4569 avatar image
0 Votes"
PaulRyan-4569 asked PaulRyan-4569 commented

Azure Speech - Continuous speech timeout

Hi,
I am trying to write an app that is 100% voice, what I am trying to figure out is how to capture a voice with length > 15 seconds. If I use Continuous speech my understanding is I would need to manually stop it ( have users click on something on the screen -- which I do not want to do ) Am I missing something or is there a trick I can use to capture Voice greater than 15 seconds


thanks
Paul

azure-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

YutongTie-MSFT avatar image
0 Votes"
YutongTie-MSFT answered PaulRyan-4569 commented

Hello,

There are three kind of speech product can help.

Speech-to-text REST API v3.0 is used for Batch transcription and Custom Speech. v3.0 is a successor of v2.0.
Speech-to-text REST API for short audio is used for online transcription as an alternative to the Speech SDK. Requests using this API can transmit only up to 60 seconds of audio per request.
And Speech SDK. https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/speech-sdk

Actually they all support voice length > 15 seconds, but Speech-to-text REST API for short audio only supports voice < 60 seconds.

Please review those and choose the one which fit your scenario most. Thanks.


Regards,
Yutong


· 3
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.

Hi, I should have said that 100% of the time input will be from the microphone, with C#

0 Votes 0 ·

@PaulRyan-4569

Hello,

I have found a C#code sample not sure if this helps you a little bit:

Continuous recognition code snippet – https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/get-started-speech-to-text?tabs=windowsinstall&pivots=programming-language-csharp#continuous-recognition.

You may have to tweak one of the samples to process continuous recognition, as pointed out in L41 of C# sample. I am sorry we do not have any published .js code.

And I have reached out to engineering team for investigation but I still have no response. In this situation, I would like to enable a one-time-free-ticket to you to assign a support engineer helping you investigate the issue one on one. If you are still in this situation, please share the Azure Subscription ID to me so than I can do it.


Regards,
Yutong

0 Votes 0 ·

Thanks for the support, I worked around it, switched to UWP so I can use Continuous speech so the user can stop the speech. Paul

0 Votes 0 ·