microsoft / microsoft/BotFramework-WebChat
Speech: Push-to-talk in addition to push-and-talk
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.8k
- Forks
- 1.6k
- Avg merge
- 22h 58m
- Merged PRs (30d)
- 2
Description
Feature Request
Is your feature request related to a problem? Please describe.
Currently, Web Chat (or Cognitive Services) will finalize the speech recognition result when it hit a period of silent. This is good for PC but not great for mobile scenarios where streets are noisy.
Push-to-talk will improve UX for mobile scenario.
Describe the suggestion or request in detail
Instead of push-and-talk, provide a push-to-talk button. When the button is pressed, the speech recognition engine is listening. When the button is released, the speech recognition engine will be stopped (thru SpeechRecognition.stop() instead of SpeechRecognition.abort()).
Describe alternatives you have considered
There are no alternatives.
Additional context
[Enhancement]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file or test is named. Start by locating the Web Chat speech-recognition control and reviewing how the current flow uses SpeechRecognition.stop() and SpeechRecognition.abort(). Done means users can hold a button to listen and releasing it stops recognition without relying on silence to finalize speech.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100