class_docstr: Inference task.
class_docstr_tok: ["Inference","task","."]
code: def __init__(self, audio_chunk: AudioChunk):
      self.audio_chunk = audio_chunk
      self.result = None
  
imports: import multiprocessing
  import threading
  from absl import app
  from absl import flags
  import attr
  from colorama import Fore
  from colorama import Style
  from magenta.models.onsets_frames_transcription.realtime import audio_recorder
  from magenta.models.onsets_frames_transcription.realtime import tflite_model
  import numpy
label_desc: Use image node_id 1 to create a new OnsetsTask object from inherited base classes: object with example: obj = OnsetsTask(audio_chunk)