Creates a new ToneMatrix Redux instance, and attach it to existing DOM elements
The grid connected to the ToneMatrix
The gridrenderer connected to the ToneMatrix
The height of the grid, measured in grid tiles
The width of the grid, measured in grid tiles
Clears all notes from the grid and resets the sharing URL.
Cleans up all resources used by this ToneMatrix
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Loads a savestate from a string into the grid
The base64-encoded savestate string
Add an event listener to a listenable object and save everything needed for removing it later.
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Add a listener for a given event.
Add a one-time listener for a given event.
Pause the playback
Start the playback
Remove all listeners, or those of the specified event.
Remove the listeners of a given event.
Sets whether the ToneMatrix application is muted.
True for muted, false for unmuted
Set a new grid size
New width in tiles
New height in tiles
Pause the playback
Saves the grid's current state into a savestate string
The base64-encoded savestate string, ready for saving or outputting in a URL
Remove a listener from a listenable object.
Updates the state of the app, and draws it to the canvas. Called in requestAnimationFrame.
Generated using TypeDoc
Main class of ToneMatrix Redux, a pentatonic step sequencer