class_docstr: Simple monochrome waveform image.
      
class_docstr_tok: ["Simple","monochrome","waveform","image","."]
code: def process(self, frames, eod=False):
      if len(frames) != 1:
          if len(frames.shape) > 1:
              buffer = frames[:, 0]
          else:
              buffer = frames
          buffer.shape = (len(buffer), 1)
          for samples, end in self.pixels_adapter.process(buffer, eod):
              if self.pixel_cursor < self.image_width - 1:
                  self.draw_peaks(
                      self.pixel_cursor, peaks(samples), self.line_color
                  )
                  self.pixel_cursor += 1
          if self.pixel_cursor == self.image_width - 1:
              self.draw_peaks(
                  self.pixel_cursor, peaks(samples), self.line_color
              )
              self.pixel_cursor += 1
      return frames, eod
  
file_path: TimeSide/timeside/plugins/grapher/waveform_simple.py
imports: from timeside.core import implements, interfacedoc
  from timeside.core.api import IGrapher
  from timeside.core.grapher import Grapher
  from .utils import peaks
label_desc: Use image node_id 6 for calling the Waveform obj's underlying member method code with example usage: obj.process(frames, eod) and returns: frames,  eod