@stringsync/vexml
Version:
MusicXML to Vexflow
12 lines (11 loc) • 398 B
TypeScript
import { CursorFrameLocator } from './types';
import { Duration } from './duration';
import { CursorPath } from './cursorpath';
/**
* A CursorFrameLocator that uses binary search to locate the frame at a given time.
*/
export declare class BSearchCursorFrameLocator implements CursorFrameLocator {
private path;
constructor(path: CursorPath);
locate(time: Duration): number | null;
}