5. in cmd prompt set path=%path%;C:\Program Files (x86)\sox-14-4-2; echo %path%
6. pip install google_speech pip install sox
7. create a sample test.py
from google_speech import Speech # say "Hello World" text = "Hello This is Vijay DR"; lang = "en"; speech = Speech(text, lang); speech.play(); # you can also apply audio effects while playing (using SoX) # see http://sox.sourceforge.net/sox.html#EFFECTS for full effect documentation sox_effects = ("speed", "1.5"); speech.play(sox_effects); # save the speech to an MP3 file (no effect is applied) speech.save("output.mp3");
8. cmp prompt py test.py enjoy ! vijay