UNPKG

@stringsync/vexml

Version:

MusicXML to Vexflow

16 lines (15 loc) 556 B
import { Measure } from './measure'; import { NamedElement } from '../util'; /** * The top level of musical organization below the Score that contains a sequence of Measures. * * See https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/part-partwise/ */ export declare class Part { private element; constructor(element: NamedElement<'part'>); /** Returns the ID of the part or an empty string if missing. */ getId(): string; /** Returns an array of measures in the order they appear. */ getMeasures(): Measure[]; }