1 year ago

#313851

test-img

Pierre Solfud

I test pyttsx3 and all is allways the same, robotic voice , i cannot change this voice

enter code here

import pyttsx3 import os texte = input("le texte à exprimer ? : ")

tts = pyttsx3.init()

tts.say(texte)

voices = tts.getProperty('voices')

tts.setProperty("voice", voices[1].id)

tts.runAndWait()

i tried to change setProperty("voice",voices[0].id) but nothing change, impossible to have a beautifull woman voice I am on Xubuntu 20.04 LTS , i put ffmpeg and other lib When i look a tuto on Youtube with exactly the same code, it is ok but with windows Can you help me please Pierre

ubuntu

xfce

pyttsx3

0 Answers

Your Answer

Accepted video resources