code: def plot_input():
      fig, axes = plt.subplots(2, 1, sharex=True)
      t = torch.linspace(0, duration, num_frames)
      axes[0].plot(t, noise)
      axes[0].grid(True)
      axes[1].specgram(noise, Fs=SAMPLE_RATE)
      Audio(noise, rate=SAMPLE_RATE)
  
imports: import torch
  import torchaudio
  import matplotlib.pyplot
  from IPython.display import Audio
label_desc: Use image node_id 1 for calling a global function with example usage: plot_input() without return types