code: def create_aishell1mix(
      aishell1_dir,
      wham_dir,
      out_dir,
      metadata_dir,
      freqs,
      n_src,
      modes,
      types,
  ):
      """Generate sources mixtures and saves them in out_dir"""
      # Get metadata files
      md_filename_list = [
          file
          for file in os.listdir(metadata_dir)
          if "info" not in file
      ]
      # Create all parts of aishell1mix
      for md_filename in md_filename_list:
          csv_path = os.path.join(metadata_dir, md_filename)
          process_metadata_file(
              csv_path,
              freqs,
              n_src,
              aishell1_dir,
              wham_dir,
              out_dir,
              modes,
              types,
          )
  
imports: import os
  import argparse
  import soundfile
  import pandas
  import numpy
  import functools
  from scipy.signal import resample_poly
  import tqdm.contrib.concurrent
  import glob
  import shutil
label_desc: Use image node_id 2 for calling a global function with example usage: create_aishell1mix(aishell1_dir, wham_dir, out_dir, metadata_dir, freqs, n_src, modes, types) without return types