code: def y_trim(request):
      # construct 5 seconds of stereo silence
      # Stick a sine wave in the middle three seconds
  
      sr = 22050
      trim_duration = 3.0
      y = np.sin(
          2 * np.pi * 440.0 * np.arange(0, trim_duration * sr) / sr
      )
      y = librosa.util.pad_center(y, size=5 * sr)
  
      if request.param:
          y = np.vstack([y, np.zeros_like(y)])
      return y
  
imports: import warnings
  import os
  from contextlib import nullcontext
  import numpy
  import pytest
  import librosa
label_desc: Use image node_id 13 for calling a global function with example usage: y_trim(request) and returns: y