Open Snowman-25 opened 2 months ago
This is good to know, thanks for the heads up here @Snowman-25 ! Appreciate this and the other issues you've raised.
TTS was a community contributed feature so I'm not very familiar with the intricacies of how it's configured. Mind linking the Continue code you were looking at? Also, any idea if it's straightforward to update the settings to use the "Natural voice"?
Hi,
I wasn't looking at any code specifically, but you referenced this handler in another issue:
https://github.com/continuedev/continue/blob/0cfcc599de1a54ae0e9c1bbcb09c5f3d0e03a126/core/util/tts.ts#L67-L72 Quick note here: PowerShell 7 / .NET 3.1 deprecated the System.Speech.Synthesis.SpeechSynthesizer API in favour of SAPI.SpVoice
According to https://stackoverflow.com/questions/77443751/how-to-access-newly-added-natural-voices-in-powershell-after-windows-11-update there's apparently 3 different Voice-APIs and the way it's currently done is accessing the old SAPI-Voices.
According to the above link, the "Natural Voice" voices can't be used via an API. That leaves us with the "One Core"-Voices. Unfortunately, the example given in the StackOverflow-Question for One Core voices doesn't work on PowerShell Core. Which isn't a problem per se, since even Windows 11 default powershell is the Desktop Edition 5.x
Since the One Core-Voices sound really similar to the SAPI-Voices, there's no immediate need to change anything.
Before submitting your bug report
Relevant environment info
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