code: def __test_shifted_impulse(
      jam_orig, jam_new, ir_files, orig_duration, n_fft, rolloff_value
  ):
      # delayed impulse
      with psf.SoundFile(str(ir_files), mode="r") as soundf:
          ir_data = soundf.read()
          ir_sr = soundf.samplerate
  
      # delay the impulse signal by zero-padding 1-second long zeros
      ir_data_delayed = np.pad(ir_data, (ir_sr, 0), mode="constant")
  
      # dump the delayed audio file
      psf.write(
          "tests/data/ir_file_delayed.wav", ir_data_delayed, ir_sr
      )
  
      D_delayed = muda.deformers.IRConvolution(
          ir_files="tests/data/ir_file_delayed.wav",
          n_fft=n_fft,
          rolloff_value=rolloff_value,
      )
  
      for jam_shifted in D_delayed.transform(jam_orig):
          # Verify the duration that delayed annotations(Using chords here) are in valid range
          # __test_duration(jam_orig, jam_shifted, orig_duration)
  
          shifted_data = jam_shifted.search(namespace="chord")[0].data
          delayed_data = jam_new.search(namespace="chord")[0].data
  
          for i in range(len(shifted_data)):
              # For each observation, verify its onset time has been shifted 1s
              isclose_(1.00, shifted_data[i][0] - delayed_data[i][0])
  
imports: from copy import deepcopy
  import re
  import six
  import numpy
  import soundfile
  import jams
  import librosa
  import muda
  import pytest
  import scipy
  from contextlib import contextmanager
label_desc: Use image node_id 37 for calling a global function with example usage: __test_shifted_impulse(jam_orig, jam_new, ir_files, orig_duration, n_fft, rolloff_value) without return types