Classes | Functions | Variables
snowboy.snowboydecoder Namespace Reference

Classes

class  HotwordDetector
 
class  RingBuffer
 

Functions

def play_audio_file (fname=DETECT_DING)
 

Variables

 DETECT_DING = os.path.join(TOP_DIR, "resources/ding.wav")
 
 DETECT_DONG = os.path.join(TOP_DIR, "resources/dong.wav")
 
 logger = logging.getLogger("snowboy")
 
 RESOURCE_FILE = os.path.join(TOP_DIR, "resources/common.res")
 
 TOP_DIR = os.path.dirname(os.path.abspath(__file__))
 

Function Documentation

def snowboy.snowboydecoder.play_audio_file (   fname = DETECT_DING)
Simple callback function to play a wave file. By default it plays
a Ding sound.

:param str fname: wave file name
:return: None

Definition at line 37 of file snowboydecoder.py.

Variable Documentation

snowboy.snowboydecoder.DETECT_DING = os.path.join(TOP_DIR, "resources/ding.wav")

Definition at line 17 of file snowboydecoder.py.

snowboy.snowboydecoder.DETECT_DONG = os.path.join(TOP_DIR, "resources/dong.wav")

Definition at line 18 of file snowboydecoder.py.

snowboy.snowboydecoder.logger = logging.getLogger("snowboy")

Definition at line 12 of file snowboydecoder.py.

snowboy.snowboydecoder.RESOURCE_FILE = os.path.join(TOP_DIR, "resources/common.res")

Definition at line 16 of file snowboydecoder.py.

snowboy.snowboydecoder.TOP_DIR = os.path.dirname(os.path.abspath(__file__))

Definition at line 14 of file snowboydecoder.py.



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