@stringsync/vexml
Version:
MusicXML to Vexflow
17 lines (16 loc) • 470 B
JavaScript
/**
* The `<rehearsal>` element specifies letters, numbers, and section names that are notated in the score for reference
* during rehearsal.
*
* See https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/rehearsal/
*/
export class Rehearsal {
element;
constructor(element) {
this.element = element;
}
/** Returns the content of the element. */
getText() {
return this.element.content().withDefault('').str();
}
}