Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.44 KB

midi-visualizer.md

File metadata and controls

26 lines (19 loc) · 1.44 KB

midi-visualizer

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