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

reduxUser1998 1 Reputation point
2021-04-13T09:27:13.227+00:00

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 AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,413 questions
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 46,991 Reputation points
    2021-04-14T14:05:22.797+00:00

    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://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/batch-transcription#configuration

    Regards,
    Yutong

    0 comments No comments