Skip to content

Renderer Class

spessasus edited this page Jun 15, 2023 · 11 revisions

Renderer Class

This is the module that is resposible for drawing the waveforms and the notes.

Initialization

const renderer = new Renderer(channelColors, synth)
  • channelColors - an array of 16 strings with css colors for each channel.
  • synth - an instance of Synthetizer class. Used for rendering its waveforms.