Skip to content

New: "Convert speech to text w/ SpeechRecognition API"#3816

Open
captainbrosset wants to merge 7 commits into
mainfrom
user/pabrosse/speech
Open

New: "Convert speech to text w/ SpeechRecognition API"#3816
captainbrosset wants to merge 7 commits into
mainfrom
user/pabrosse/speech

Conversation

@captainbrosset
Copy link
Copy Markdown
Contributor

@captainbrosset captainbrosset commented May 29, 2026

Rendered article for review:

AB#62483292

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit a4b9ecf:

⚠️ Validation status: warnings

File Status Preview URL Details
microsoft-edge/web-platform/speech-recognition-api.md ⚠️Warning 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.

@mikehoffms mikehoffms changed the title Local speech to text docs New art. "Convert speech to text with the SpeechRecognition API" May 29, 2026
@mikehoffms mikehoffms changed the title New art. "Convert speech to text with the SpeechRecognition API" New ar. "Convert speech to text with the SpeechRecognition API" May 29, 2026
@mikehoffms mikehoffms changed the title New ar. "Convert speech to text with the SpeechRecognition API" New ar. "Convert speech to text with SpeechRecognition API" May 29, 2026
@mikehoffms mikehoffms changed the title New ar. "Convert speech to text with SpeechRecognition API" New ar. "Convert speech to text w/ SpeechRecognition API" May 29, 2026
@mikehoffms mikehoffms changed the title New ar. "Convert speech to text w/ SpeechRecognition API" New: "Convert speech to text w/ SpeechRecognition API" May 29, 2026
@mikehoffms mikehoffms added the cat: webplatform Web Platform-related content. label May 29, 2026
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 078554d:

⚠️ Validation status: warnings

File Status Preview URL Details
microsoft-edge/toc.yml ⚠️Warning View Details
microsoft-edge/web-platform/speech-recognition-api.md ⚠️Warning 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.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The 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 found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

---
# 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.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 -->
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/`.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Canary (or other Insider channel),

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 44f765b:

⚠️ Validation status: warnings

File Status Preview URL Details
microsoft-edge/web-platform/speech-recognition-api.md ⚠️Warning 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.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The 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 found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 5d47651:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • [Error: CannotMergeCommit] Cannot merge commit 5d47651b80b046a5163bacf983343168e8a00285 in branch user/pabrosse/speech of repository https://github.com/MicrosoftDocs/edge-developer into branch main (commit 4fd2649b1daf9cb739bed4ca71c2a5a6bb10715d). Please follow this documentation: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ to use git.exe to resolve you content conflicts locally and then push to remote.

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-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The 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 found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit dcbc71b:

⚠️ Validation status: warnings

File Status Preview URL Details
microsoft-edge/web-platform/speech-recognition-api.md ⚠️Warning 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.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The 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 found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit efdf47b:

⚠️ Validation status: warnings

File Status Preview URL Details
microsoft-edge/web-platform/speech-recognition-api.md ⚠️Warning 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat: webplatform Web Platform-related content.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants