-
Notifications
You must be signed in to change notification settings - Fork 6
/
SIMULATED_FUNCTIONS.txt
44 lines (32 loc) · 1.41 KB
/
SIMULATED_FUNCTIONS.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Status of Various Simulated Functions
=====================================
makeToast
---------
*Complete
Pops up a Tkinter window in the middle of your screen for 5 seconds. The window
contains the message you've specified.
recognizeSpeech
---------------
*Partial
At this time, recognizeSpeech does not attempt to actually recognize any speech.
It prompts you for a string to return as though speech had been recognized. You
can reply with any string you want, which is useful for seeing how your code
handes correctly and incorrectly recognized speech. Improving this function to
actually use Google's speech recognition engine would be awesome.
ttsIsSpeaking
-------------
*Partial
The function ttsIsSpeaking simulated checks to see whether ttsSpeak has
finished saying something. It returns True if ttsSpeak is done, and False if it
is still speaking. The simulated function returns True or False at random, so
it lets you know that your code running the function has processed, but it
doesn't actually perform a check. This might be improved in the future.
ttsSpeak
--------
*Complete
On OSX, it uses the built-in 'say' program. No other action is necessary. If
for some reason 'say' is missing, you can install and use 'espeak'.
On Linux, you can install and use 'espeak' or 'flite'.
On Windows, you can install and use 'espeak'.
If no TTS functionality is found, it will default to printing the message to the
console.