code: def world_extract(wav_path, args):
      fs, x = wavfile.read(wav_path)
      x = np.array(x, dtype=np.float64)
      x = low_cut_filter(x, fs)
  
      # extract features
      f0, time_axis = pw.harvest(
          x,
          fs,
          f0_floor=args.f0min,
          f0_ceil=args.f0max,
          frame_period=args.shiftms,
      )
      sp = pw.cheaptrick(x, f0, time_axis, fs, fft_size=args.fftl)
      ap = pw.d4c(x, f0, time_axis, fs, fft_size=args.fftl)
      mcep = pysptk.sp2mc(sp, args.mcep_dim, args.mcep_alpha)
      npow = spc2npow(sp)
  
      return {
          "sp": sp,
          "mcep": mcep,
          "ap": ap,
          "f0": f0,
          "npow": npow,
      }
  
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 6 for calling a global function with example usage: world_extract(wav_path, args) and returns: dict