wave-roll
Version:
JavaScript Library for Comparative MIDI Piano-Roll Visualization
28 lines • 1.47 kB
TypeScript
export declare const COLOR_PRIMARY = "#2563eb";
export declare const COLOR_A = "#0ea5e9";
export declare const COLOR_B = "#e11d48";
export declare const COLOR_OVERLAP = "#64748b";
export declare const COLOR_EVAL_HIGHLIGHT = "#60A5FA";
export declare const COLOR_EVAL_EXCLUSIVE = "#FB7185";
export declare const GRAY_EVAL_INTERSECTION = "#B0B0B0";
export declare const GRAY_EVAL_EXCLUSIVE = "#707070";
export declare const GRAY_EVAL_AMBIGUOUS = "#7A6F66";
export declare const SUSTAIN_ALPHA = 0.2;
export declare const SUSTAIN_CONTROLLER = 64;
export declare const COLOR_WAVEFORM = "#475569";
export declare const COLOR_PLAYHEAD = "#0f172a";
export declare const COLOR_PLAYHEAD_OUTLINE = "#ffffff";
export declare const COLOR_LOOP_SHADE = "#fde68a";
export declare const COLOR_LOOP_LINE_A = "#0ea5e9";
export declare const COLOR_LOOP_LINE_B = "#e11d48";
/**
* Default baseline tempo (BPM) used when MIDI does not provide an initial tempo.
*/
export declare const DEFAULT_BASELINE_TEMPO = 120;
/**
* Ordered list of primary marker shapes for first-pass unique assignment.
*/
export declare const ONSET_MARKER_SHAPES: Array<"circle" | "square" | "diamond" | "triangle-up" | "triangle-down" | "triangle-left" | "triangle-right" | "star" | "cross" | "plus" | "hexagon" | "pentagon" | "chevron-up" | "chevron-down">;
/** Maximum number of unique visual combinations before reuse kicks in. */
export declare const MAX_UNIQUE_MARKERS: number;
//# sourceMappingURL=index.d.ts.map