code: def start_recording(
      self,
      channels=default_channels,
      samplerate=default_samplerate,
      chunksize=default_chunksize,
  ):
      print("* start recording")
      self.chunksize = chunksize
      self.channels = channels
      self.recorded = False
      self.samplerate = samplerate
  
      if self.stream:
          self.stream.stop_stream()
          self.stream.close()
  
      self.stream = self.audio.open(
          format=self.default_format,
          channels=channels,
          rate=samplerate,
          input=True,
          frames_per_buffer=chunksize,
      )
  
      self.data = [[] for i in range(channels)]
  
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 2 for calling the MicrophoneRecognizer obj's underlying member method code with example usage: obj.start_recording(channels, samplerate, chunksize) without return types