Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speech to text produced transcription Offset is wrong #2622

Open
aahmad-btit opened this issue Oct 9, 2024 · 0 comments
Open

Speech to text produced transcription Offset is wrong #2622

aahmad-btit opened this issue Oct 9, 2024 · 0 comments

Comments

@aahmad-btit
Copy link

Logs where you can see the issue of resetting Offset:
recording.log
final-compiled.log

I used Javascript speech SDK to produce transcript from MediaRecorder.
Repos code that I have used and their events:
https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/quickstart/javascript/browser/from-microphone

Audio file:
audio.webm

Here is the transcript
transcript.json

Describe the bug
I record audio and transcribe text using Azure speech to text SDK and store it for further use. I noticed that after sometime of recording the produced transcript Offset got reset and starts over again from beginning. Expected behavior is that Offset must be in increasing order progressively. A phrase offset can not be lesser than previous phrase offset.

You can see the issue in attached recording.log file, I have also attached another one that I have briefed in log file final-compiled.log
you will see the issue clearly that between two phrases new connection is instantiated and then later produced offset has been reset and starts over again.
final-compiled.log is the brief of recording.log

Expected behavior
Expected behavior is that Offset must be in increasing order progressively. A phrase offset can not be lesser than previous phrase offset.

Version of the Cognitive Services Speech SDK
Version: 1.40

Platform, Operating System, and Programming Language

  • OS: Windows
  • Hardware - x64
  • Programming language: JavaScript
  • Browser Chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant