UNPKG

@stringsync/vexml

Version:

MusicXML to Vexflow

15 lines (14 loc) 589 B
import * as spatial from '../spatial'; import * as elements from '../elements'; import { Duration } from './duration'; import { CursorPath } from './cursorpath'; export declare class TimestampLocator { private systems; private constructor(); static create(score: elements.Score, paths: CursorPath[]): TimestampLocator; /** * Locates the timestamp at the given point in the score. If a given point is passed multiple times within a playback * (e.g. repeats), only the first occurrence will be returned. */ locate(point: spatial.Point): Duration | null; }