Optional opts: { Optional attributes?: Partial<DurationAttributes>Optional contents?: DurationContentsReadonly schemaReadonly attributes: {}Readonly contents: readonly [{ Readonly name: "duration"Static Readonly schemaReadonly attributes: {}Readonly contents: readonly [{ Readonly name: "duration"Generated using TypeDoc
The
<duration>elementParent elements:
<backup>,<figured-bass>,<forward>,<note>Duration is a positive number specified in division units. The
<duration>element represents the intended duration vs. the notated duration (for instance, differences in dotted notes in Baroque-era music). Differences in duration specific to an interpretation or performance should be represented using the<note>element's attack and release attributes.The
<duration>element moves the musical position when used in<backup>elements,<forward>elements, and<note>elements that do not contain a<chord>child element.https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/duration/