The events speechRecognizer.ContinuousRecognitionSession.ResultGenerated and speechRecognizer.HypothesisGenerated do no longer work

Open
#1,445 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp

Research direction

Start in the mentioned Scenario_ContinuousDictation.cs file, especially the ContinuousRecognitionSession_ResultGenerated handler and the speechRecognizer event setup. Reproduce the issue with the listed Speech4TTS option 8 steps on the stated UWP configuration, then verify that recognition events fire and dictated text appears in the Message Dication field.

Written by the indexing model from the issue text.

Description

bug

Which sample are you reporting a bug in?

Example: SpeechAndTTS

Describe the bug
In the case continouus dictation sample no events with the recognized are raised.
The code is in Scenario_ContinuousDictation,cs
I canot link to a code line because the event that shoild be raised, speechRecognizer.ContinuousRecognitionSession.ResultGenerated for example is just not called.
To Reproduce

  1. Download the sample
  2. Run the Speech4TTS sample
  3. Select option 8
  4. Select a language
  5. Click "Dictate"
    Expected behavior
    Speech is translated into text and shown in the field Message Dication or a break point in the first line of ContinuousRecognitionSession_ResultGenerated is hit.

Screenshots
If applicable, add screenshots to help explain your problem.

Configuration

  • UWP
  • Windows Desktop Version 25H2 Build 26200.9168
  • Visual Studio version: 18.9.2

Additional context
Add any other context about the problem here.
Online Speech recognition is set in the Windows privacy settings

Dominant language
JavaScript
Stars
9.7k
Forks
7.8k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/Windows-universal-samples

All issues in microsoft/Windows-universal-samples

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.