midi-visualizer
July 9, 2022 ยท View on GitHub
MIDI visualizer element.
The visualizer is implemented via SVG elements which support styling as described here.
See also the
@magenta/music/core/visualizer docs.
Properties
| Property | Attribute | Type | Description |
|---|---|---|---|
config | VisualizerConfig | Magenta visualizer config object | |
noteSequence | INoteSequence | null | Magenta note sequence object representing the currently displayed content | |
src | src | string | null | MIDI file URL |
type | type | "piano-roll" | "waterfall" | "staff" | Visualizer type |
Methods
| Method | Type |
|---|---|
clearActiveNotes | (): void |
redraw | (activeNote?: INote | undefined): void |
reload | (): void |