class_docstr: Waveform where peaks are colored relatively to the spectral centroids of each frame buffer.
      
class_docstr_tok: ["Waveform","where","peaks","are","colored","relatively","to","the","spectral","centroids","of","each","frame","buffer","."]
code: def __init__(
      self,
      width=4096,
      height=256,
      bg_color=(0, 0, 0),
      color_scheme="default",
  ):
      super(WaveformCentroid, self).__init__(
          width, height, bg_color, color_scheme
      )
      self.lower_freq = 200
      colors = default_color_schemes[color_scheme]["waveform"]
      self.color_lookup = interpolate_colors(colors)
  
file_path: TimeSide/timeside/plugins/grapher/waveform_centroid.py
imports: from timeside.core import implements, interfacedoc
  from timeside.core.api import IGrapher
  from .utils import peaks, interpolate_colors
  from timeside.plugins.grapher.waveform_simple import Waveform
  from timeside.plugins.grapher.color_schemes import default_color_schemes
label_desc: Use image node_id 1 to create a new WaveformCentroid object from inherited base classes: Waveform with example: obj = WaveformCentroid(width, height, bg_color, color_scheme)