code: def load_file_aubio(filename):
      import aubio
  
      f = aubio.source(filename, hop_size=1024)
      y = np.zeros(f.duration, dtype=aubio.float_type)
      total_frames = 0
      while True:
          samples, read = f()
          y[total_frames : total_frames + read] = samples[:read]
          total_frames += read
          if read < f.hop_size:
              break
      assert len(y) == total_frames
      # print y.mean(), y.shape
      return total_frames, f.samplerate
  
file_path: aubio/python/demos/demo_reading_speed.py
imports: import numpy
label_desc: Use image node_id 8 for calling a global function with example usage: load_file_aubio(filename) and returns: total_frames,  f