class_docstr: Convolve the audio with a randomly selected impulse response.
  Impulse responses can be created using e.g. http://tulrich.com/recording/ir_capture/
  Impulse responses are represented as audio (ideally wav) files in the given ir_path.
class_docstr_tok: ["Convolve","the","audio","with","a","randomly","selected","impulse","response",".","Impulse","responses","can","be","created","using","e.g",".","http",":","\/\/tulrich.com\/recording\/ir_capture\/","Impulse","responses","are","represented","as","audio","(","ideally","wav",")","files","in","the","given","ir_path","."]
code: def randomize_parameters(
      self, samples: NDArray[np.float32], sample_rate: int
  ):
      super().randomize_parameters(samples, sample_rate)
      if self.parameters["should_apply"]:
          self.parameters["ir_file_path"] = random.choice(self.ir_files)
  
file_path: audiomentations/audiomentations/augmentations/apply_impulse_response.py
imports: import functools
  import random
  import warnings
  from pathlib import Path
  from typing import List, Union
  import numpy
  from numpy.typing import NDArray
  from scipy.signal import convolve
  from audiomentations.core.audio_loading_utils import load_sound_file
  from audiomentations.core.transforms_interface import BaseWaveformTransform
  from audiomentations.core.utils import find_audio_files_in_paths
label_desc: Use image node_id 3 for calling the ApplyImpulseResponse obj's underlying member method code with example usage: obj.randomize_parameters(samples, sample_rate) without return types