Public Member Functions | Public Attributes | List of all members
mycroft.client.speech.listener.AudioProducer Class Reference
Inheritance diagram for mycroft.client.speech.listener.AudioProducer:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, state, queue, mic, recognizer, emitter, stream_handler)
 
def run (self)
 
def stop (self)
 

Public Attributes

 daemon
 
 emitter
 
 mic
 
 queue
 
 recognizer
 
 state
 
 stream_handler
 

Detailed Description

AudioProducer
given a mic and a recognizer implementation, continuously listens to the
mic for potential speech chunks and pushes them onto the queue.

Definition at line 55 of file listener.py.

Constructor & Destructor Documentation

def mycroft.client.speech.listener.AudioProducer.__init__ (   self,
  state,
  queue,
  mic,
  recognizer,
  emitter,
  stream_handler 
)

Definition at line 62 of file listener.py.

Member Function Documentation

def mycroft.client.speech.listener.AudioProducer.run (   self)

Definition at line 72 of file listener.py.

def mycroft.client.speech.listener.AudioProducer.stop (   self)
    Stop producer thread.

Definition at line 91 of file listener.py.

Member Data Documentation

mycroft.client.speech.listener.AudioProducer.daemon

Definition at line 64 of file listener.py.

mycroft.client.speech.listener.AudioProducer.emitter

Definition at line 69 of file listener.py.

mycroft.client.speech.listener.AudioProducer.mic

Definition at line 67 of file listener.py.

mycroft.client.speech.listener.AudioProducer.queue

Definition at line 66 of file listener.py.

mycroft.client.speech.listener.AudioProducer.recognizer

Definition at line 68 of file listener.py.

mycroft.client.speech.listener.AudioProducer.state

Definition at line 65 of file listener.py.

mycroft.client.speech.listener.AudioProducer.stream_handler

Definition at line 70 of file listener.py.


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


mycroft_ros
Author(s):
autogenerated on Mon Apr 26 2021 02:35:40