continue icon indicating copy to clipboard operation
continue copied to clipboard

TTS is using legacy speech output on Windows 11

Open Snowman-25 opened this issue 5 months ago • 2 comments

Before submitting your bug report

Relevant environment info

- OS: Windows 11 23H2 (Build 22631.4169)
- Continue:   v0.8.52
- IDE:        VSCode 1.92.1 (user setup)
- Model:      n/a
- config.json:
  
{
  "models": [
    {
      "title": "Ollama",
      "provider": "ollama",
      "model": "AUTODETECT"
    }
  ],
  "customCommands": [
    {
      "name": "test",
      "prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
      "description": "Write unit tests for highlighted code"
    },
    {
      "name": "desc",
      "prompt": "{{{ input }}}\n\nWrite a comprehensive comment for each block of the selected code. It should describe what it does and show possible caveats.",
      "description": "Comment the highlighted code"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Starcoder 3b",
    "provider": "ollama",
    "model": "starcoder2"
  },
  "allowAnonymousTelemetry": false,
  "embeddingsProvider": {
    "provider": "transformers.js"
  },
  "contextProviders": [
    {
      "name": "open",
      "params": {
        "onlyPinned": false
      }
     }
  ],
  "experimental": {
    "readResponseTTS": true
  },
  "ui": {
    "showChatScrollbar": true
  },
  "docs": []
}

Description

After activating TTS I noticed that I couldn't change the voice and speed of the output in my Windows Settings.

After some searching around I found the legacy Text-to-Speech settings in the old control panel and found that this is the TTS-Settings that Continue uses. They sound very machine-like and might even pronounce everything wrong if set to a wrong language. I'd much rather use the "Natural voice" TTS-settings that Windows 11 provides.

To reproduce

Active TTS by adding readResponseTTS: true to your config.json Enter any prompt in the chat window

Log output

No response

Snowman-25 avatar Sep 19 '24 09:09 Snowman-25