code: def common_config(manifest_file, manifest_root, batch_size):
      cache_root = get_data_cache_or_nothing("whale-cache/")
  
      audio_config = {
          "type": "audio",
          "sample_freq_hz": 2000,
          "max_duration": "2 seconds",
          "frame_length": "80 milliseconds",
          "frame_stride": "40 milliseconds",
      }
  
      label_config = {"type": "label", "binary": False}
  
      return {
          "manifest_filename": manifest_file,
          "manifest_root": manifest_root,
          "batch_size": batch_size,
          "block_size": batch_size * 12,
          "cache_directory": cache_root,
          "etl": [audio_config, label_config],
      }
  
file_path: neon/examples/whale_calls/data.py
imports: import os
  import numpy
  from zipfile import ZipFile
  from glob import glob
  from neon.util.persist import get_data_cache_or_nothing
  from neon.data.aeon_shim import AeonDataLoader
  from neon.data.dataloader_transformers import OneHot, TypeCast
label_desc: Use image node_id 3 for calling a global function with example usage: common_config(manifest_file, manifest_root, batch_size) and returns: dict