class_docstr: Base Class for generating a data sample array
code: def __init__(self, duration=10, samplerate=44100):
      self.samplerate = int(samplerate)
      self.num_samples = int(numpy.ceil(duration * self.samplerate))
      self.array = NotImplemented
  
imports: from __future__ import division
  import gi
  from gi.repository import GLib, Gst
  import numpy
  import scipy.signal.waveforms
  import os.path
  import ffmpeg
label_desc: Use image node_id 1 to create a new SampleArray object from inherited base classes: object with example: obj = SampleArray(duration, samplerate)