code: def add_to_mixture_metadata(
      mix_df,
      mix_id,
      abs_mix_path,
      abs_sources_path,
      abs_noise_path,
      length,
      subdir,
  ):
      """Add a new line to mixture_df"""
      sources_path = abs_sources_path
      noise_path = [abs_noise_path]
      if subdir == "mix_clean":
          noise_path = []
      elif subdir == "mix_single":
          sources_path = [abs_sources_path[0]]
      row_mixture = (
          [mix_id, abs_mix_path] + sources_path + noise_path + [length]
      )
      mix_df.loc[len(mix_df)] = row_mixture
  
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 22 for calling a global function with example usage: add_to_mixture_metadata(mix_df, mix_id, abs_mix_path, abs_sources_path, abs_noise_path, length, subdir) without return types