NateRickard / Xamarin.Cognitive.Speech

A client library that makes it easy to work with the Microsoft Cognitive Services Speech Services Speech to Text API on Xamarin.iOS, Xamarin.Android, UWP, and Xamarin.Forms/.NET Standard libraries used by those platforms
MIT License
59 stars 18 forks source link

InitialSilenceTimeout #8

Closed barun511 closed 6 years ago

barun511 commented 6 years ago

Hey - this may not be an issue with the Bing Speech sdk, but I figured I'd report it anyway - I followed the instructions in the readme for the conversion of an audio file, but I keep getting an initial silence timeout. Is there a formatting custom that I don't know about? (I'm using mp3, xamarin 4.10 with VS 2017 on Oreo)

There's also a minor typo in the Readme - "hwoever this is not recommended" => "however this is not recommended" in the audio stream area.

barun511 commented 6 years ago

Figured it out - I didn't read the instructions properly, I was using an Mpeg4 file!

On another note, is there a way to change the format that the speech SDK accepts, or does it have to be wav?

NateRickard commented 6 years ago

The last I checked in the API docs, it was required to be a WAV file.