wave-roll
Version:
JavaScript Library for Comparative MIDI Piano-Roll Visualization
9 lines • 475 B
TypeScript
import { PianoRoll } from "../piano-roll";
import { NoteInterval } from "@/lib/core/controls/utils/overlap";
/** Default color for overlap highlights (rgba(255,0,0,0.25)) */
export declare const OVERLAP_COLOR = 16711680;
/**
* Draws translucent bars marking timeline segments where >=2 tracks overlap.
*/
export declare function drawOverlapRegions(pianoRoll: PianoRoll, overlaps: NoteInterval[], color?: number, alpha?: number): void;
//# sourceMappingURL=overlaps.d.ts.map