08-03-2020, 13:29:40
Voilà, j'ai fait un petit script python qui faire lire à google et enregistre en mp3.
récupération :
dépendances :
utilisation :
On peut changer de langue si besoin :
récupération :
Code :
git clone git@github.com:mothsART/speechscripts.git
cd speechscriptsdépendances :
Code :
sudo apt-get install sox libsox-fmt-mp3
sudo pip3 install google_speechutilisation :
Code :
./google_sound "Ceci est un texte en français !" french.mp3On peut changer de langue si besoin :
Code :
./google_sound "Hello primtux team" english.mp3 en
