question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is it possible to change the "text to voice" language?

See original GitHub issue

I just found out that I can change the “recognized words” by editing words.txt, which is perfect since I can adjust them to my individual needs!

The logical next step would be to add words in my (and my childs 😉) native language German. In order for this to make sense, I’d also like to hear those recognized words pronounced correctly by a “German voice”.

Is it possible to change the voice to a German one by adjusting some file or windows system setting?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
DennisGaidacommented, Apr 23, 2021

Figured out that changing the text-to-speech language is rather easy: Use the Windows language preference selector (keyboard/language). Changing that from English to German also changed the text-to-speech voice for me.

image

1reaction
CombeeMikecommented, Sep 7, 2020

I managed to change the language by adjusting the code & making a custom build of mine:

Controller.cs:ThreadedSpeak constructor

// Original
CultureInfo keyboardLanguage = System.Windows.Forms.InputLanguage.CurrentInputLanguage.Culture;
InstalledVoice neededVoice = this.SpeechSynth.GetInstalledVoices(keyboardLanguage).FirstOrDefault();

// Force german voice
CultureInfo culture = CultureInfo.GetCultureInfo("de-DE");
InstalledVoice neededVoice = this.SpeechSynth.GetInstalledVoices(culture).FirstOrDefault();

I guess there’s no way right now to change this via some some config file etc. but only by either creating a custom build like I did or by changing the default input language which I wanted to avoid for several reasons.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change the language or voice of spoken text
Change the language, voice, or volume for Text-to-speech · At the bottom right, select the time or press Alt + Shift + s....
Read more >
How to change the language and voice used for Text-to ...
Step by step guide · Find the Accessibility settings · Tap Text-to-speech output · Change the language · Pick a different voice ·...
Read more >
How to change text-to-speech language? : r/discordapp
Yas! It works. Here's what I did: Win+X > Control Panel > in the search box search for "Text to speech" > it...
Read more >
Fix text-to-speech reading in wrong language
Word for the desktop · Close Immersive Reader or Read Aloud. · Highlight the text you want to read. · Select Review >...
Read more >
Galaxy S23's: How to Change the Samsung Text-to ... - YouTube
Learn how you can change the Samsung Text-to-Speech to a different language or voice on the Samsung Galaxy S23/S23+/Ultra.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found