Class: RidgePlots

Visualization.RidgePlots()

ridge plots

Constructor

new RidgePlots()

Source:

Extends

Members

name :string

the name of the visualization
Type:
  • string
Overrides:
Source:

outputs :Array

2D array. An element of the outer array indicates an array of wave x, y positions, which forms one line
Type:
  • Array
Source:

Methods

addWaves()

add x, y to the output array to draw the waveform
Source:

draw()

visualizes the current sound on the screen
Overrides:
Source:

onResize()

when resizing, reset outputs
Source: