UNPKG

wave-roll

Version:

JavaScript Library for Comparative MIDI Piano-Roll Visualization

14 lines 609 B
import { PianoRoll } from "../piano-roll"; /** * Default Sprite-based note renderer with automatic batching. * * Renders every MIDI note as a `PIXI.Sprite` that shares a common 1×1 white * texture. Color is applied via `tint`, and dimensions are set with * `sprite.width/height` for maximum batching efficiency. * * Compared to the legacy Graphics renderer this trades a small per-sprite * memory overhead for dramatically lower draw-call count once the number of * notes exceeds a few hundred. */ export declare function renderNotes(pianoRoll: PianoRoll): void; //# sourceMappingURL=notes.d.ts.map