Speech extension for Visual Studio Code
The Speech extension for Visual Studio Code adds speech-to-text and text-to-speech capabilities to Visual Studio Code. No internet connection is required, the voice audio data is processed locally on your computer. For example, you can use this extension anywhere VS Code offers chat capabilities such as with GitHub Copilot Chat: You can also use this extension to dictate directly into the text editor: Chat responses can be read out aloud if you prefer to listen: Getting StartedIf you want to use this extension in AI powered Chat in VS Code, please install the GitHub Copilot Chat extension and sign in. You will see a microphone icon in all chat interfaces that GitHub Copilot Chat extension provides: If you want to use this extension to dicate directly into the editor, no further setup is required! Keybindings and Walky-Talky ModeThe easiest way to get going with voice in chat is to use the keybinding For the editor dictation mode, use the keybinding You can easily configure your own keybinding to your liking via the Keybinding Shortcuts Editor:
SettingsYou can find all settings that are voice related by opening the Settings Editor and searching for If you want chat responses to be automatically read out aloud when you used voice as input, make sure to enable TroubleshootingOn certain platforms, it maybe necessary to grant VS Code the permissions to use the microphone. For example, on macOS the "Privacy & Security" settings page has an entry for "Microphone". Make sure that Visual Studio Code is enabled: Supported PlatformsThis extension is compatible with Windows, Linux, and macOS:
LinuxThis extension only supports the following distributions on the x86 (Debian/Ubuntu), x64, ARM32 (Debian/Ubuntu), and ARM64 (Debian/Ubuntu) architectures:
The extension depends on the shared library for ALSA applications ( For more information, please refer to this documentation of the Azure Speech SDK this extension is built with. Supported LanguagesThe VS Code Speech extension supports 26 languages in total. You can configure the setting IssuesThis extension is still in development, so please refer to our issue tracker for known issues, and please contribute with additional information if you encounter an issue yourself. Building
|