Stimme und Sprache vom Raspberry Pi ändern?
Hallo,
ich programmiere gerade einen Sprachassistenten, doch wenn ich eine Frage stelle, antwortet der Pi immer mit einer englischen, männlichen Stimme. Wie kann ich die Stimme ändern, dass es eine deutsche, weibliche Stimme ist (Also dass der von pyttsx3 gesprochene Text von einer deutschen Frau gesprochen wird)?
Freundliche Grüsse
Do you like to clarify your question?
A Raspberry Pi is a single-board computer that does not speak and does not have an operating system. Typically, you assemble it yourself and then install Linux or Kodi and Mutige also Windows.
You install programming units, often Python or programs. One of them creates your voice. How to change it, there are many details that you can only give.
I’m sorry, it’s more detailed here: On my Raspberry Pi runs the Raspberry Pi OS and there I have a Python file that recognizes my voice with pyaudio, then analyzes it and processes it and expresses the answer with pyttsx3. And since pyttsx3 probably uses the voice and language installed on Raspberry Pi OS and this is English and male, I wanted to ask now whether you can change the installed voice and gender on the Pi OS.
I ride in your interest on the words, with the idea that you can’t find them in Google:
OS is the abbreviation for “Operating System”, i.e. operating systems and for me not clear, as already stated above.
However, perhaps one that would have integrated Python (key word “image”).
In Python this is not a file, but probably a library whose name you can find out.
In my opinion, a “Raspberry Pi OS installed voice” is not available. This will be a function in Python.
There are also not “the” python, but many libraries and functions. I’d find out what you’re talking about.
After that, there is the possibility that it can be expanded or not. It’s probably expandable. You often have to look for that on Git.
Here I am already deep in the rat, because first you have to find out exactly where this voice is from. She’s not in the base OS of Raspi.
How did you get the kid to run? He’s getting stupid. You must have taken your operating system somewhere.
Thank you for your answer! I’ll see if I can change this at “Sound Module”.
I loaded the Pi OS from the Raspberry Pi OS Imager on an SD card and then connected it to my Pi.
The language has nothing to do with the PI OS – but with the installed language libraries.
https://pypi.org/project/pyttsx3/
And then it comes to the language engine you use. Stands on the text of the website.