code: def read_file_audioread(filename):
      import audioread
  
      # taken from librosa.util.utils
      def convert_buffer_to_float(buf, n_bytes=2, dtype=np.float32):
          # Invert the scale of the data
          scale = 1.0 / float(1 << ((8 * n_bytes) - 1))
          # Construct the format string
          fmt = "<i{:d}".format(n_bytes)
          # Rescale and format the data buffer
          out = scale * np.frombuffer(buf, fmt).astype(dtype)
          return out
  
      with audioread.audio_open(filename) as f:
          total_frames = 0
          for buf in f:
              samples = convert_buffer_to_float(buf)
              samples = samples.reshape(f.channels, -1)
              total_frames += samples.shape[1]
          return total_frames, f.samplerate
  
file_path: aubio/python/demos/demo_reading_speed.py
imports: import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: read_file_audioread(filename) and returns: out, total_frames,  f