UNPKG

@stringsync/vexml

Version:

MusicXML to Vexflow

17 lines (16 loc) 569 B
import { CursorPath } from './cursorpath'; import { Duration } from './duration'; import { CursorFrameLocator } from './types'; /** * A CursorFrameLocator that uses O(1) time complexity to locate the frame at a given time before falling back to a more * expensive locator. */ export declare class FastCursorFrameLocator implements CursorFrameLocator { private path; private fallback; private index; constructor(path: CursorPath, fallback: CursorFrameLocator); locate(time: Duration): number | null; private update; private getDuration; }