diff --git a/BitLit_decoder.py b/BitLit_decoder.py index 3aa0776..18b1e32 100644 --- a/BitLit_decoder.py +++ b/BitLit_decoder.py @@ -36,8 +36,10 @@ model = sys.argv[1] # capture SIGINT signal, e.g., Ctrl+C signal.signal(signal.SIGINT, signal_handler) -detector = snowboydecoder.HotwordDetector(model, sensitivity=0.5) -print("Listening... Press Ctrl+C to exit") + +detector = snowboydecoder.HotwordDetector(model, sensitivity=0.75) +print("Listening for hotword (Hi BitLit)... Press Ctrl+C to exit") +snowboydecoder.play_audio_file() detector.start(