class_docstr: Class for generating a Sine array
code: def __init__(
      self, frequency=440, duration=10, samplerate=44100, channels=1
  ):
      super(SineArray, self).__init__(
          duration=duration, samplerate=samplerate
      )
      self.frequency = frequency
      self.array = numpy.sin(
          (
              2
              * numpy.pi
              * self.frequency
              * self.time_samples
              / self.samplerate
          )
      )
      self.array.resize(self.num_samples, 1)
  
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 SineArray object from inherited base classes: SampleArray with example: obj = SineArray(frequency, duration, samplerate, channels)