Skip to content

12.0.0

Compare
Choose a tag to compare
@dmrschmidt dmrschmidt released this 15 Jan 08:02
· 60 commits to main since this release
  • The rendering pipeline was split out from the analysis. You can now create your own renderes by subclassing WaveformRenderer.
  • A new CircularWaveformRenderer has been added.
  • position was removed from Waveform.Configuration, see 0447737.
  • new Waveform.Style option have been added, see below

Waveforms can be rendered in 2 different ways and 5 different styles each.

By default LinearWaveformRenderer is used, which draws a linear 2D amplitude envelope.

CircularWaveformRenderer is available as an alternative, which can be passed in to the WaveformView or WaveformLiveView respectively. It draws a circular
2D amplitude envelope.

You can implement your own renderer by implementing WaveformRenderer.

The following styles can be applied to either renderer:

  • filled: Use solid color for the waveform.
  • outlined: Draws the envelope as an outline with the provided thickness.
  • gradient: Use gradient based on color for the waveform.
  • gradientOutlined: Use gradient based on color for the waveform. Draws the envelope as an outline with the provided thickness.
  • striped: Use striped filling based on color for the waveform.