UNPKG

wave-roll

Version:

JavaScript Library for Comparative MIDI Piano-Roll Visualization

16 lines 547 B
import { NoteData } from "@/lib/midi/types"; export interface TimeRange { start: number; end: number; } /** * Detects overlapping notes between different MIDI files * @param notes Array of note objects with color and file ID information * @returns Map where the key is the note index and the value is the overlapping time range { start, end } */ export declare function detectOverlappingNotes(notes: Array<{ note: NoteData; color: number; fileId: string; }>): Map<number, TimeRange[]>; //# sourceMappingURL=overlap.d.ts.map