code: def _display(i):
      print(
          "filter_desc:",
          streamer.get_out_stream_info(i).filter_description,
      )
      fig, axs = plt.subplots(2, 1)
      waveform = chunks[i][:, 0]
      axs[0].plot(waveform)
      axs[0].grid(True)
      axs[0].set_ylim([-1, 1])
      plt.setp(axs[0].get_xticklabels(), visible=False)
      axs[1].specgram(waveform, Fs=sample_rate)
      fig.tight_layout()
      return IPython.display.Audio(chunks[i].T, rate=sample_rate)
  
imports: import torch
  import torchaudio
  import IPython
  import matplotlib.pyplot
  from torchaudio.io import StreamReader
label_desc: Use image node_id 1 for calling a global function with example usage: _display(i) and returns: IPython