code: def write_to_wav_scp(
      wav_scp, sampling_frequency, extension, name, file_path
  ):
      if sampling_frequency == "8k":
          if extension == "sph":
              wav_scp.write(
                  "{utt} sph2pipe -f wav -p -c 1 {sph} |\n".format(
                      utt=name, sph=file_path
                  )
              )
          else:
              wav_scp.write(
                  "{utt} ffmpeg -i {flac} -f wav -ar 8000 - |\n".format(
                      utt=name, flac=file_path
                  )
              )
      else:
          if extension == "sph":
              wav_scp.write(
                  "{utt} sph2pipe -f wav -p -c 1 {sph} | sox -t wav - -r 16k -t wav - |\n".format(
                      utt=name, sph=file_path
                  )
              )
          else:
              wav_scp.write(
                  "{utt} ffmpeg -i {flac} -f wav -ar 16000 - |\n".format(
                      utt=name, flac=file_path
                  )
              )
  
file_path: delta/egs/sre16/v1/local/make_sre18_eval.py
imports: import threading
  import warnings
  import argparse
  import os
  import sys
  import traceback
label_desc: Use image node_id 3 for calling a global function with example usage: write_to_wav_scp(wav_scp, sampling_frequency, extension, name, file_path) without return types