code: def main():
      parser = argparse.ArgumentParser()
      parser.add_argument("--dirpath", type=str)
      parser.add_argument("--nj", type=int, default=32)
      args = parser.parse_args()
  
      file_list = list(Path(args.dirpath).glob("**/*.pcm"))
  
      pool = mp.Pool(processes=args.nj)
      with tqdm(total=len(file_list)) as pbar:
          for _ in tqdm(pool.imap_unordered(convert_to_wav, file_list)):
              pbar.update()
  
      pool.close()
      pool.join()
  
imports: import argparse
  import multiprocessing
  import wave
  from pathlib import Path
  from tqdm import tqdm
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types