We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d34fc1 commit 12d282aCopy full SHA for 12d282a
JARVIS/JARVIS.py
@@ -19,10 +19,14 @@
19
20
# initialisation
21
engine = pyttsx3.init()
22
+voices = engine.getProperty('voices')
23
+engine.setProperty('voice', voices[0].id)
24
+engine.setProperty('rate', 150)
25
26
# obtain audio from the microphone
27
r = sr.Recognizer()
28
with sr.Microphone() as source:
29
+ print('[JARVIS]:' + "Say something")
30
engine.say("Say something")
31
engine.runAndWait()
32
audio = r.listen(source)
0 commit comments