code: def get_wham_noise_filenames(hparams):
      "This function lists the WHAM! noise files to be used in dynamic mixing"
  
      if "Aishell1" in hparams["data_folder"]:
          # Data folder should point to Aishell1Mix2 folder
          if hparams["sample_rate"] == 8000:
              noise_path = "wav8k/min/train/noise/"
          elif hparams["sample_rate"] == 16000:
              noise_path = "wav16k/min/train/noise/"
          else:
              raise ValueError("Unsupported Sampling Rate")
      else:
          if hparams["sample_rate"] == 8000:
              noise_path = "wav8k/min/tr/noise/"
          elif hparams["sample_rate"] == 16000:
              noise_path = "wav16k/min/tr/noise/"
          else:
              raise ValueError("Unsupported Sampling Rate")
  
      noise_files = glob.glob(
          os.path.join(hparams["data_folder"], noise_path, "*.wav")
      )
      return noise_files
  
file_path: speechbrain/recipes/Aishell1Mix/separation/dynamic_mixing.py
imports: import speechbrain
  import numpy
  import torch
  import torchaudio
  import glob
  import os
  from speechbrain.dataio.batch import PaddedBatch
  from tqdm import tqdm
  import warnings
  import pyloudnorm
  import random
label_desc: Use image node_id 2 for calling a global function with example usage: get_wham_noise_filenames(hparams) and returns: noise_files