@stringsync/vexml
Version:
MusicXML to Vexflow
15 lines (14 loc) • 665 B
TypeScript
import { NamedElement } from '../util';
/**
* Time modification indicates tuplets, double-note tremolos, and other durational changes.
*
* See https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/time-modification/
*/
export declare class TimeModification {
private element;
constructor(element: NamedElement<'time-modification'>);
/** Describes how many notes are played in the time usually occupied by the number in the `<normal-notes>` element. */
getActualNotes(): number;
/** Describes how many notes are usually played in the time occupied by the number in the `<actual-notes>` element. */
getNormalNotes(): number;
}