nateshmbhat / pyttsx3

Offline Text To Speech synthesis for python
Mozilla Public License 2.0
1.99k stars 321 forks source link

How to solve the sound of "a"? #275

Open bli920370 opened 1 year ago

bli920370 commented 1 year ago

How to solve the sound of "a"? Hi there. When I use the sentence below, it always said "a" as "ei". How could I handle it? Thanks. engine.say('What a lazy dog!', 'dog')

Jiangshan00001 commented 1 year ago

try this one:

    engine = pyttsx4.init('coqui_ai_tts')
    engine.save_to_file('what a lazy dog.', 'what_a_lazy_dog.wav')
    engine.runAndWait()

the output wav file is in the zip file below:

what_a_lazy_dog.zip