Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

German Male not correct working #8

Open
AnnikenYT opened this issue May 16, 2020 · 1 comment
Open

German Male not correct working #8

AnnikenYT opened this issue May 16, 2020 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed wontfix This will not be worked on

Comments

@AnnikenYT
Copy link

AnnikenYT commented May 16, 2020

Hey, more a question than an issue. I used this packet for a bit now, and I really love it. But today, i ran into an issue. I created a new file with this code:

engine = ResponsiveVoice(lang=ResponsiveVoice.GERMAN)

def talkToMe(audio):
    try:
        os.remove("audio.mp3")
    except:
        print("no file found")
    print(audio)
    engine.say(audio, mp3_file="audio", gender=ResponsiveVoice.MALE)

talk("hallo")

As far as I'm concerned, it should say the content of audio as a German Male. But it says it as a German Female. Does anyone know why?

Thanks in advance!

PS:
That's the working script:

engine = ResponsiveVoice(lang=ResponsiveVoice.GERMAN)

def talkToMe(audio):
    try:
        os.remove("audio.mp3")
    except:
        print("no file found")
    print(audio)
    engine.say(audio, mp3_file="audio", gender=ResponsiveVoice.MALE)

I don't see a difference, but maby I'm blind c;

@JarbasAl
Copy link
Contributor

voices have been scrapped from the website, see data dump here

Something seems to have changed, i have noticed sometimes i get randomly female or male responses, i believe responsive voice is caching some utterances (which respect selected voice) but deprecated some of them (which reverts back to a lang default if not cached)

I also noticed using en-us vs en for example gives different results, might be worth experimenting with lang code variations

@JarbasAl JarbasAl added bug Something isn't working help wanted Extra attention is needed wontfix This will not be worked on labels Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants