question

reduxUser1998-4345 avatar image
0 Votes"
reduxUser1998-4345 asked YutongTie-MSFT commented

How to pass audio file URI from other cloud storage provider to Speech SDK AudioConfig?

Hi, Good day, I would like to ask regarding on how to pass a source uri of audio files coming from other cloud storage providers?. Currently my audio files are coming from google cloud storage and I would like to be able to use those files for transcription process and providing pronunciation assessment using speech sdk. I can't find any documentation or workflows on how to do it so that I can be able to retrieve the file. Is there any way on how to do it?

Currently I'm able to generate results using speech sdk using AudioConfig.fromWavFileInput(fs.readFileSync("filename.wav")), but I can only pass a audio file from my local directory. I'm using Node JS for this one.87160-image.png


azure-speech
image.png (68.3 KiB)
· 1
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.

Hello,

Please let us know if you have more question and it will be helpful to accept the answer if you feel it helps. Thanks.


Regards,
Yutong

0 Votes 0 ·

1 Answer

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

Hello,
AutioConfig() used for specifying what type of input to use (microphone, file, stream).

87807-image.png

And I also see batch API is friendly to url input:

https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/batch-transcription#configuration

Regards,
Yutong


image.png (66.1 KiB)
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.