Azure-Samples / Cognitive-Speech-STT-Windows

Windows SDK for the Microsoft Speech-to-Text API, part of Cognitive Services
https://www.microsoft.com/cognitive-services/en-us/speech-api
Other
112 stars 88 forks source link

30 seconds audio file fires the wrong events? #61

Open leolorenzoluis opened 5 years ago

leolorenzoluis commented 5 years ago

I'm testing the sample and uploaded a sample wav file for like 30 seconds. However, the RecognizedEventHandler final result cuts off the previous supposedly included final result.

For example from 0-15 seconds: It recognizes the words, however it only triggers the RecognizedEventHandler. from 16-30 seconds: It recognizes the remaining words, however the result does not include the text from 0-15 seconds as a final result.

I understand if it's a longer audio file then it triggers multiple RecognizedEventHandler and that's correct, but for some reason if it's like 30-33 seconds it's not calling the correct events.