Azure-Samples / cognitive-services-speech-sdk

Sample code for the Microsoft Cognitive Services Speech SDK
MIT License
2.96k stars 1.86k forks source link

Empty text in Recognized event, expected a NoMatch event #2671

Open sc-nm opened 6 hours ago

sc-nm commented 6 hours ago

Hi,

I recently updated the java speech SDK in my application from 1.24.2 to 1.37.0. Since then, I receive different events during continuousRecognitionAsync for the exact same PullAudioInputStream. My test audio file just contains some noise.

In 1.24.2, I receive a NoMatch event (which is correct in my opinion) In 1.37.0, I receive a RecognizedSpeech event with an empty text (which is wrong in my opinion)

Then I tested with different versions and figured out that the change was induced with 1.34.0, and it behaves like that until the latest version (1.41.1).

My questions are:

Sample audio attached: noise_wav.zip

Best regards