-
-
Notifications
You must be signed in to change notification settings - Fork 15
Renderer Class
spessasus edited this page Jun 15, 2023
·
11 revisions
This is the module that is resposible for drawing the waveforms and the notes.
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.
Tip
If you encounter any errors in this documentation, please open an issue!
Warning
Make sure you always update worklet_processor.min.js
along with the npm package!