code: def load_list_write_manifest(
      data_dir,
      out_dir,
      filename,
      prefix,
      start,
      end,
      duration_stride=1.0,
      duration_max=1.0,
      duration_limit=100.0,
      filter_long=True,
  ):
      filename = prefix + "_" + filename
      file_path = os.path.join(data_dir, filename)
  
      with open(file_path, "r") as allfile:
          files = allfile.read().splitlines()
  
      manifest_name = filename.split("_list.txt")[0] + "_manifest"
      skip_num, seg_num, output_path = write_manifest(
          out_dir,
          files,
          prefix,
          manifest_name,
          start,
          end,
          duration_stride,
          duration_max,
          duration_limit,
          filter_long=True,
      )
      return skip_num, seg_num, output_path
  
imports: import argparse
  import glob
  import json
  import logging
  import os
  import tarfile
  import urllib.request
  import librosa
  import numpy
  import soundfile
  from sklearn.model_selection import train_test_split
label_desc: Use image node_id 7 for calling a global function with example usage: load_list_write_manifest(data_dir, out_dir, filename, prefix, start, end, duration_stride, duration_max, duration_limit, filter_long) and returns: skip_num,  seg_num,  output_path