Bearing in mind that the Microsoft/Azure Cognitive Services' "Speech Service" is currently going through a rationalisation exercise, as far as I can tell from looking at
https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/rest-apis#speech-to-text
https://learn.microsoft.com/en-us/azure/cognitive-services/speech/home
only .wav binaries are acceptable, with anything else giving the response:
{"Message":"Unsupported audio format"}
Is there any other way to discover the acceptable audio formats/encodings/etc., or is this it?
[Bonus points for tips on preprocessing arbitrary/.m4a audio formats in python pydub so that they meet the bar - currently works for .mp3 but not for .m4a].
Thanks!
The currently support format is WAV (16 kHz or 8 kHz, 16-bit, and mono PCM). More format and codec support will be added in future.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With