code: def featureExtractionDirWrapper(
      directory, mt_win, mt_step, st_win, st_step
  ):
      if not os.path.isdir(directory):
          raise Exception("Input path not found!")
      aF.mid_feature_extraction_file_dir(
          directory, mt_win, mt_step, st_win, st_step, True, True, True
      )
  
imports: from __future__ import print_function
  import argparse
  import os
  import numpy
  import glob
  import matplotlib.pyplot
  import ShortTermFeatures
  import MidTermFeatures
  import audioTrainTest
  import audioSegmentation
  import audioVisualization
  import audioBasicIO
  import scipy.io.wavfile
  import matplotlib.patches
label_desc: Use image node_id 5 for calling a global function with example usage: featureExtractionDirWrapper(directory, mt_win, mt_step, st_win, st_step) without return types