MCPcopy Index your code
hub / github.com/geekcomputers/Python / voice

Function voice

JARVIS/JARVIS_2.0.py:145–148  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

143
144# for audio output instead of print
145def voice(p):
146 myobj = gTTS(text=p, lang="en", slow=False)
147 myobj.save("try.mp3")
148 playsound("try.mp3")
149
150
151# recognize speech using Google Speech Recognition

Callers 1

get_appFunction · 0.70

Calls 1

saveMethod · 0.45

Tested by

no test coverage detected