Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
145
def
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_app
Function · 0.70
Calls
1
save
Method · 0.45
Tested by
no test coverage detected