code: def array_from_text_file(filename, dtype="float"):
      filename = os.path.join(os.path.dirname(__file__), filename)
      return array(
          [line.split() for line in open(filename).readlines()],
          dtype=dtype,
      )
  
imports: import sys
  from aubio import source, pitch
  import os.path
  from numpy import array, ma
  import matplotlib.pyplot
  from demo_waveform_plot import get_waveform_plot, set_xlabels_sample2time
label_desc: Use image node_id 1 for calling a global function with example usage: array_from_text_file(filename, dtype) and returns: array