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

Public Member Functions

def __enter__ (self)
 
def __exit__ (self, exc_type, exc_value, traceback)
 
def __init__ (self, device_index=None, sample_rate=16000, chunk_size=1024, mute=False)
 
def is_muted (self)
 
def mute (self)
 
def unmute (self)
 

Public Attributes

 audio
 
 muted
 
 stream
 

Detailed Description

Definition at line 116 of file mic.py.

Constructor & Destructor Documentation

def mycroft.client.speech.mic.MutableMicrophone.__init__ (   self,
  device_index = None,
  sample_rate = 16000,
  chunk_size = 1024,
  mute = False 
)

Definition at line 118 of file mic.py.

Member Function Documentation

def mycroft.client.speech.mic.MutableMicrophone.__enter__ (   self)

Definition at line 126 of file mic.py.

def mycroft.client.speech.mic.MutableMicrophone.__exit__ (   self,
  exc_type,
  exc_value,
  traceback 
)

Definition at line 138 of file mic.py.

def mycroft.client.speech.mic.MutableMicrophone.is_muted (   self)

Definition at line 155 of file mic.py.

def mycroft.client.speech.mic.MutableMicrophone.mute (   self)

Definition at line 145 of file mic.py.

def mycroft.client.speech.mic.MutableMicrophone.unmute (   self)

Definition at line 150 of file mic.py.

Member Data Documentation

mycroft.client.speech.mic.MutableMicrophone.audio

Definition at line 129 of file mic.py.

mycroft.client.speech.mic.MutableMicrophone.muted

Definition at line 122 of file mic.py.

mycroft.client.speech.mic.MutableMicrophone.stream

Definition at line 130 of file mic.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