Classes | |
class | AudioStream |
Public Member Functions | |
def | __enter__ (self) |
def | __exit__ (self, exc_type, exc_value, traceback) |
def | __init__ (self, topic_name="audio", depth=16, n_channel=1, sample_rate=16000, chunk_size=1024, buffer_size=10240) |
def | close (self) |
def | open (self) |
Public Attributes | |
buffer_size | |
CHUNK | |
n_channel | |
SAMPLE_RATE | |
SAMPLE_WIDTH | |
stream | |
topic_name | |
Definition at line 25 of file speech_recognition_node.py.
def speech_recognition_node.ROSAudio.__init__ | ( | self, | |
topic_name = "audio" , |
|||
depth = 16 , |
|||
n_channel = 1 , |
|||
sample_rate = 16000 , |
|||
chunk_size = 1024 , |
|||
buffer_size = 10240 |
|||
) |
Definition at line 27 of file speech_recognition_node.py.
def speech_recognition_node.ROSAudio.__enter__ | ( | self | ) |
Definition at line 61 of file speech_recognition_node.py.
def speech_recognition_node.ROSAudio.__exit__ | ( | self, | |
exc_type, | |||
exc_value, | |||
traceback | |||
) |
Definition at line 64 of file speech_recognition_node.py.
def speech_recognition_node.ROSAudio.close | ( | self | ) |
Definition at line 57 of file speech_recognition_node.py.
def speech_recognition_node.ROSAudio.open | ( | self | ) |
Definition at line 48 of file speech_recognition_node.py.
speech_recognition_node.ROSAudio.buffer_size |
Definition at line 31 of file speech_recognition_node.py.
speech_recognition_node.ROSAudio.CHUNK |
Definition at line 43 of file speech_recognition_node.py.
speech_recognition_node.ROSAudio.n_channel |
Definition at line 44 of file speech_recognition_node.py.
speech_recognition_node.ROSAudio.SAMPLE_RATE |
Definition at line 42 of file speech_recognition_node.py.
speech_recognition_node.ROSAudio.SAMPLE_WIDTH |
Definition at line 34 of file speech_recognition_node.py.
speech_recognition_node.ROSAudio.stream |
Definition at line 46 of file speech_recognition_node.py.
speech_recognition_node.ROSAudio.topic_name |
Definition at line 30 of file speech_recognition_node.py.