code: def __init__(self, dejavu):
      super().__init__(dejavu)
      self.audio = pyaudio.PyAudio()
      self.stream = None
      self.data = []
      self.channels = MicrophoneRecognizer.default_channels
      self.chunksize = MicrophoneRecognizer.default_chunksize
      self.samplerate = MicrophoneRecognizer.default_samplerate
      self.recorded = False
  
file_path: dejavu/dejavu/logic/recognizer/microphone_recognizer.py
imports: import numpy
  import pyaudio
  from dejavu.base_classes.base_recognizer import BaseRecognizer
label_desc: Use image node_id 1 to create a new MicrophoneRecognizer object from inherited base classes: BaseRecognizer with example: obj = MicrophoneRecognizer(dejavu)