Skip to content

German Male not correct working  #8

@AnnikenYT

Description

@AnnikenYT

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions