Simple voice change
Hi, I'm trying to change the default voice to language of a choice, btw I'm building a custom GTK gui frontend for espeak so I found this framework as an excellent replacement for my os.system executor.
This is the code that I use>
import espeak
spk = espeak
for lang in spk.list_voices():
if lang.identifier == "mk":
mk = lang
spk.set_
What I need to know is how to set voice gender, to set a voice gender with the command espeak I use>
espeak -vmk+f1, where f1 is a range from f1 to f4 or m1 to m5.
In the static char>
static char *kwlist[] = {"name", "language", "gender", "age",
"variant", NULL};
what value does gender need to be, Python says it needs a float, and what's with the age ? - Is age the 1 to 4 range ?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Damjan for more information if necessary.