Functions | Variables
snowboy.demo2 Namespace Reference

Functions

def interrupt_callback ()
 
def signal_handler (signal, frame)
 

Variables

list callbacks
 
 detected_callback
 
 detector = snowboydecoder.HotwordDetector(models, sensitivity=sensitivity)
 
 interrupt_check
 
bool interrupted = False
 
 models = sys.argv[1:]
 
list sensitivity = [0.5]*len(models)
 
 sleep_time
 

Function Documentation

def snowboy.demo2.interrupt_callback ( )

Definition at line 15 of file demo2.py.

def snowboy.demo2.signal_handler (   signal,
  frame 
)

Definition at line 10 of file demo2.py.

Variable Documentation

list snowboy.demo2.callbacks
Initial value:
1 = [lambda: snowboydecoder.play_audio_file(snowboydecoder.DETECT_DING),
2  lambda: snowboydecoder.play_audio_file(snowboydecoder.DETECT_DONG)]

Definition at line 31 of file demo2.py.

snowboy.demo2.detected_callback

Definition at line 37 of file demo2.py.

Definition at line 30 of file demo2.py.

snowboy.demo2.interrupt_check

Definition at line 38 of file demo2.py.

bool snowboy.demo2.interrupted = False

Definition at line 7 of file demo2.py.

snowboy.demo2.models = sys.argv[1:]

Definition at line 24 of file demo2.py.

list snowboy.demo2.sensitivity = [0.5]*len(models)

Definition at line 29 of file demo2.py.

snowboy.demo2.sleep_time

Definition at line 39 of file demo2.py.



dialogflow_ros
Author(s): Anas Abou Allaban
autogenerated on Mon Jun 10 2019 13:02:59