This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
P40AUTO TC MAKECADR # HELLO THERE. | |
TS TEMPR60 # FOR GENERALIZED RETURN TO OTHER BANKS. | |
P40A/P TC BANKCALL # SUBROUTINE TO CHECK PGNCS CONTROL | |
CADR G+N,AUTO # AND AUTO STABILIZATION MODES | |
CCS A # +0 INDICATES IN PGNCS, IN AUTO | |
TCF TURNITON # + INDICATES NOT IN PGNCS AND/OR AUTO | |
CAF APSFLBIT # ARE WE ON THE DESCENT STAGE? | |
MASK FLGWRD10 | |
CCS A | |
TCF GOBACK # RETURN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import speech_recognition | |
import pyttsx | |
speech_engine = pyttsx.init('sapi5') # see http://pyttsx.readthedocs.org/en/latest/engine.html#pyttsx.init | |
speech_engine.setProperty('rate', 150) | |
def speak(text): | |
speech_engine.say(text) | |
speech_engine.runAndWait() |