code: def mid_feature_extraction_file_dir(
      folder_path,
      mid_window,
      mid_step,
      short_window,
      short_step,
      store_short_features=False,
      store_csv=False,
      plot=False,
  ):
      types = (folder_path + os.sep + "*.wav",)
      files_list = []
      for t in types:
          files_list.extend(glob.glob(t))
      for f in files_list:
          output_path = f
          mid_feature_extraction_to_file(
              f,
              mid_window,
              mid_step,
              short_window,
              short_step,
              output_path,
              store_short_features,
              store_csv,
              plot,
          )
  
file_path: pyAudioAnalysis/pyAudioAnalysis/MidTermFeatures.py
imports: from __future__ import print_function
  import os
  import time
  import glob
  import numpy
  import matplotlib.pyplot
  import sys
  from pyAudioAnalysis import utilities
  from pyAudioAnalysis import audioBasicIO
  from pyAudioAnalysis import ShortTermFeatures
label_desc: Use image node_id 7 for calling a global function with example usage: mid_feature_extraction_file_dir(folder_path, mid_window, mid_step, short_window, short_step, store_short_features, store_csv, plot) without return types