We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 967330f + 12d282a commit ebfd55dCopy full SHA for ebfd55d
1 file changed
JARVIS/JARVIS.py
@@ -28,6 +28,9 @@
28
29
# initialisation
30
engine = pyttsx3.init()
31
+voices = engine.getProperty('voices')
32
+engine.setProperty('voice', voices[0].id)
33
+engine.setProperty('rate', 150)
34
35
36
def sendEmail(do, content):
@@ -42,6 +45,7 @@ def sendEmail(do, content):
42
45
# obtain audio from the microphone
43
46
r = sr.Recognizer()
44
47
with sr.Microphone() as source:
48
+ print('[JARVIS]:' + "Say something")
49
engine.say("Say something")
50
engine.runAndWait()
51
audio = r.listen(source)
0 commit comments