code: def write_sources(
      mix_id, transformed_sources, subdirs, dir_path, freq, n_src
  ):
      # Write sources and mixtures and save their path
      abs_source_path_list = []
      ex_filename = mix_id + ".wav"
      for src, src_dir in zip(
          transformed_sources[:n_src], subdirs[:n_src]
      ):
          save_path = os.path.join(dir_path, src_dir, ex_filename)
          abs_save_path = os.path.abspath(save_path)
          sf.write(abs_save_path, src, freq)
          abs_source_path_list.append(abs_save_path)
      return abs_source_path_list
  
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 15 for calling a global function with example usage: write_sources(mix_id, transformed_sources, subdirs, dir_path, freq, n_src) and returns: abs_source_path_list