Skip to content

Not speaking more than the first word in Mac OSX #128

@vishwanath1306

Description

@vishwanath1306

Whenever I'm trying to talk more than the first word in my program, espeak doesn't seem to be working. I am using Python 3.6.0, and running the command. The code is as follows:

    delay = 200
    word_ = f"The word is {word}"
    meaning_ = f"The meaning is {meaning}"
    command1 = f"espeak -g{delay} {word_}"
    command2 = f"espeak -g{delay} {meaning_}"
    for i in range(0,3):
        os.system(command1)
        os.system(command2)

In word, if instead of The word is, I give The_word_is, it works fine.

Do help me out, or suggest if some other offline library can solve this purpose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions