code: def run_sox_effect(
      input_file,
      output_file,
      effect,
      *,
      output_sample_rate=None,
      output_bitdepth=None,
  ):
      """Run sox effects"""
      effect = _flattern(effect)
      command = ["sox", "-V", "--no-dither", input_file]
      if output_bitdepth:
          command += ["--bits", str(output_bitdepth)]
      command += [output_file] + effect
      if output_sample_rate:
          command += ["rate", str(output_sample_rate)]
      print(" ".join(command))
      subprocess.run(command, check=True)
  
file_path: audio/test/torchaudio_unittest/common_utils/sox_utils.py
imports: import subprocess
  import sys
  import warnings
label_desc: Use image node_id 6 for calling a global function with example usage: run_sox_effect(input_file, output_file, effect) without return types