code: def main():
      args = get_parser().parse_args()
  
      # find files
      converted_files = sorted(find_files(args.wavdir))
      gt_files = sorted(find_files(args.gtwavdir))
  
      # Get and divide list
  
      print("number of utterances = %d" % len(converted_files))
      file_lists = np.array_split(converted_files, args.n_jobs)
      file_lists = [f_list.tolist() for f_list in file_lists]
  
      # multi processing
      with mp.Manager() as manager:
          MCD = manager.list()
          processes = []
          for f in file_lists:
              p = mp.Process(
                  target=calculate, args=(f, gt_files, args, MCD)
              )
              p.start()
              processes.append(p)
  
          # wait for all process
          for p in processes:
              p.join()
  
          mMCD = np.mean(np.array(MCD))
          print("Mean MCD: {:.2f}".format(mMCD))
  
imports: import argparse
  import fnmatch
  import multiprocessing
  import os
  import numpy
  import pysptk
  import pyworld
  import scipy
  from fastdtw import fastdtw
  from scipy.io import wavfile
  from scipy.signal import firwin, lfilter
label_desc: Use image node_id 10 for calling a global function with example usage: main() without return types