New: "Convert speech to text w/ SpeechRecognition API"#3816
New: "Convert speech to text w/ SpeechRecognition API"#3816captainbrosset wants to merge 7 commits into
Conversation
|
Learn Build status updates of commit a4b9ecf:
|
| File | Status | Preview URL | Details |
|---|---|---|---|
| microsoft-edge/web-platform/speech-recognition-api.md | View | Details |
microsoft-edge/web-platform/speech-recognition-api.md
- Line 56, Column 4: [Warning: file-not-found - See documentation]
Invalid file link: './speech-recognition-apis-images/flag.png'. - Line 72, Column 4: [Warning: file-not-found - See documentation]
Invalid file link: './speech-recognition-apis-images/....png'. - Line 68, Column 76: [Suggestion: other-site-link-broken - See documentation]
Link 'https://microsoftedge.github.io/Demos/built-in-ai/playgrounds/speechrecognition-api/' points to a page that doesn't exist. Check the path or URL and update the link.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
|
Learn Build status updates of commit 078554d:
|
| File | Status | Preview URL | Details |
|---|---|---|---|
| microsoft-edge/toc.yml | View | Details | |
| microsoft-edge/web-platform/speech-recognition-api.md | View | Details |
microsoft-edge/toc.yml
- Line 141, Column 21: [Warning: file-not-found - See documentation]
Invalid file link: './devtools/agents/mcp.md'.
microsoft-edge/web-platform/speech-recognition-api.md
- Line 56, Column 4: [Warning: file-not-found - See documentation]
Invalid file link: './speech-recognition-apis-images/flag.png'. - Line 72, Column 4: [Warning: file-not-found - See documentation]
Invalid file link: './speech-recognition-apis-images/....png'. - Line 68, Column 76: [Suggestion: other-site-link-broken - See documentation]
Link 'https://microsoftedge.github.io/Demos/built-in-ai/playgrounds/speechrecognition-api/' points to a page that doesn't exist. Check the path or URL and update the link.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
| --- | ||
| # Convert speech to text with the SpeechRecognition API | ||
|
|
||
| The SpeechRecognition API is a standard web API that allows you to convert speech from a media file or the device microphone, into text, from your website's JavaScript code. This article focuses on using the SpeechRecognition API with an on-device (or local) speech recognition model that's built into Microsoft Edge. |
There was a problem hiding this comment.
The SpeechRecognition API is a standard web API that enables converting speech — from an audio source such as a media file or device microphone —into text, directly from a website’s or browser extensions's JavaScript code. This article focuses on using the SpeechRecognition API with the on‑device (or local) speech recognition model that is built into Microsoft Edge.
| <!-- ====================================================================== --> | ||
| ## Availability of the local speech recognition model | ||
|
|
||
| The local speech recognition model is available in Microsoft Edge Canary or Dev, starting with version 150.x.y.z <!-- todo add correct version and potential flag and hardware requirements --> |
There was a problem hiding this comment.
Microsoft Edge Insider channels version 150.x or higher
| <!-- ====================================================================== --> | ||
| ## Enable local speech recognition in Microsoft Edge | ||
|
|
||
| To use the local speech recognition model with the SpeechRecognition API, you need to enable the feature in Microsoft Edge Canary or Dev. To enable the feature: |
There was a problem hiding this comment.
Insider channels version X or higher
|
|
||
| To use the local speech recognition model with the SpeechRecognition API, you need to enable the feature in Microsoft Edge Canary or Dev. To enable the feature: | ||
|
|
||
| 1. Make sure you're using the latest version of Microsoft Edge Canary or Dev (version XYZ or newer). See [Become a Microsoft Edge Insider](https://www.microsoft.com/edge/download/insider). |
There was a problem hiding this comment.
Insider channels version X or higher
|
|
||
| 1. Make sure you're using the latest version of Microsoft Edge Canary or Dev (version XYZ or newer). See [Become a Microsoft Edge Insider](https://www.microsoft.com/edge/download/insider). | ||
|
|
||
| 1. In Microsoft Edge Canary or Dev, open a new tab or window and go to `edge://flags/`. |
There was a problem hiding this comment.
Canary (or other Insider channel),
|
Learn Build status updates of commit 44f765b:
|
| File | Status | Preview URL | Details |
|---|---|---|---|
| microsoft-edge/web-platform/speech-recognition-api.md | View | Details | |
| microsoft-edge/toc.yml | ✅Succeeded | View |
microsoft-edge/web-platform/speech-recognition-api.md
- Line 56, Column 4: [Warning: file-not-found - See documentation]
Invalid file link: './speech-recognition-apis-images/flag.png'. - Line 72, Column 4: [Warning: file-not-found - See documentation]
Invalid file link: './speech-recognition-apis-images/....png'. - Line 68, Column 76: [Suggestion: other-site-link-broken - See documentation]
Link 'https://microsoftedge.github.io/Demos/built-in-ai/playgrounds/speechrecognition-api/' points to a page that doesn't exist. Check the path or URL and update the link.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 5d47651: ❌ Validation status: errorsPlease follow instructions here which may help to resolve issue.
For more details, please refer to the build report. Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them. |
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit dcbc71b:
|
| File | Status | Preview URL | Details |
|---|---|---|---|
| microsoft-edge/web-platform/speech-recognition-api.md | View | Details | |
| microsoft-edge/toc.yml | ✅Succeeded | View |
microsoft-edge/web-platform/speech-recognition-api.md
- Line 56, Column 4: [Warning: file-not-found - See documentation]
Invalid file link: './speech-recognition-apis-images/flag.png'. - Line 72, Column 4: [Warning: file-not-found - See documentation]
Invalid file link: './speech-recognition-apis-images/....png'. - Line 68, Column 76: [Suggestion: other-site-link-broken - See documentation]
Link 'https://microsoftedge.github.io/Demos/built-in-ai/playgrounds/speechrecognition-api/' points to a page that doesn't exist. Check the path or URL and update the link.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit efdf47b:
|
| File | Status | Preview URL | Details |
|---|---|---|---|
| microsoft-edge/web-platform/speech-recognition-api.md | View | Details | |
| microsoft-edge/toc.yml | ✅Succeeded | View |
microsoft-edge/web-platform/speech-recognition-api.md
- Line 67, Column 4: [Warning: file-not-found - See documentation]
Invalid file link: './speech-recognition-apis-images/flag.png'. - Line 83, Column 4: [Warning: file-not-found - See documentation]
Invalid file link: './speech-recognition-apis-images/....png'. - Line 79, Column 76: [Suggestion: other-site-link-broken - See documentation]
Link 'https://microsoftedge.github.io/Demos/built-in-ai/playgrounds/speechrecognition-api/' points to a page that doesn't exist. Check the path or URL and update the link.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
Rendered article for review:
/web-platform/speech-recognition-apiAB#62483292