code: def write_noise(mix_id, transformed_sources, dir_path, freq):
      # Write noise save it's path
      noise = transformed_sources[-1]
      ex_filename = mix_id + ".wav"
      save_path = os.path.join(dir_path, "noise", ex_filename)
      abs_save_path = os.path.abspath(save_path)
      sf.write(abs_save_path, noise, freq)
      return abs_save_path
  
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 16 for calling a global function with example usage: write_noise(mix_id, transformed_sources, dir_path, freq) and returns: abs_save_path