Public Member Functions | Public Attributes | List of all members
speech_recognition_node.ROSAudio.AudioStream Class Reference
Inheritance diagram for speech_recognition_node.ROSAudio.AudioStream:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, topic_name, buffer_size=10240, depth=16, n_channel=1, target_channel=0)
 
def audio_cb (self, msg)
 
def close (self)
 
def read (self, size)
 
def read_once (self, size)
 

Public Attributes

 buffer
 
 buffer_size
 
 depth
 
 lock
 
 n_channel
 
 sub_audio
 
 target_channel
 
 type_code
 

Detailed Description

Definition at line 67 of file speech_recognition_node.py.

Constructor & Destructor Documentation

def speech_recognition_node.ROSAudio.AudioStream.__init__ (   self,
  topic_name,
  buffer_size = 10240,
  depth = 16,
  n_channel = 1,
  target_channel = 0 
)

Definition at line 69 of file speech_recognition_node.py.

Member Function Documentation

def speech_recognition_node.ROSAudio.AudioStream.audio_cb (   self,
  msg 
)

Definition at line 100 of file speech_recognition_node.py.

def speech_recognition_node.ROSAudio.AudioStream.close (   self)

Definition at line 93 of file speech_recognition_node.py.

def speech_recognition_node.ROSAudio.AudioStream.read (   self,
  size 
)

Definition at line 88 of file speech_recognition_node.py.

def speech_recognition_node.ROSAudio.AudioStream.read_once (   self,
  size 
)

Definition at line 82 of file speech_recognition_node.py.

Member Data Documentation

speech_recognition_node.ROSAudio.AudioStream.buffer

Definition at line 72 of file speech_recognition_node.py.

speech_recognition_node.ROSAudio.AudioStream.buffer_size

Definition at line 70 of file speech_recognition_node.py.

speech_recognition_node.ROSAudio.AudioStream.depth

Definition at line 73 of file speech_recognition_node.py.

speech_recognition_node.ROSAudio.AudioStream.lock

Definition at line 71 of file speech_recognition_node.py.

speech_recognition_node.ROSAudio.AudioStream.n_channel

Definition at line 74 of file speech_recognition_node.py.

speech_recognition_node.ROSAudio.AudioStream.sub_audio

Definition at line 76 of file speech_recognition_node.py.

speech_recognition_node.ROSAudio.AudioStream.target_channel

Definition at line 75 of file speech_recognition_node.py.

speech_recognition_node.ROSAudio.AudioStream.type_code

Definition at line 78 of file speech_recognition_node.py.


The documentation for this class was generated from the following file:


ros_speech_recognition
Author(s): Yuki Furuta
autogenerated on Tue May 11 2021 02:55:47