Google text to speech in GD for linux users
Posted: Tue Aug 13, 2013 8:09 pm
Hi
if u want to use Google tts in GD u can do that following these steps :
1 - Edit -> Dictionaries -> Programs.
2 - click on Add and choose "Audio" in type field .
3 - in "Command Line" field copy and paste this command:
click ok
for languages other than english change tl=en in the command ,for example fr for french or es for spanish ......
sorry for my bad English.
Note: mpg123 should be installed .
if u want to use Google tts in GD u can do that following these steps :
1 - Edit -> Dictionaries -> Programs.
2 - click on Add and choose "Audio" in type field .
3 - in "Command Line" field copy and paste this command:
- Code: Select all
bash -c "p=$(echo "%GDWORD%" |sed 's/ /+/g');wget -U Mozilla -q -O - "$@" translate.google.com/translate_tts?tl=en\&q=$p|mpg123 -"
click ok
for languages other than english change tl=en in the command ,for example fr for french or es for spanish ......
sorry for my bad English.
Note: mpg123 should be installed .