code: def read_frames_from_file(
      audio_path,
      audio_format=DEFAULT_FORMAT,
      frame_duration_ms=30,
      yield_remainder=False,
  ):
      with AudioFile(audio_path, audio_format=audio_format) as wav_file:
          for frame in read_frames(
              wav_file,
              frame_duration_ms=frame_duration_ms,
              yield_remainder=yield_remainder,
          ):
              yield frame
  
imports: import collections
  import ctypes
  import io
  import math
  import numpy
  import os
  import pyogg
  import tempfile
  import wave
  from .helpers import LimitingPool
  from collections import namedtuple
  from .io import open_remote, remove_remote, copy_remote, is_remote_path
label_desc: Use image node_id 10 for calling a global function with example usage: read_frames_from_file(audio_path, audio_format, frame_duration_ms, yield_remainder) without return types