UNPKG

@stringsync/vexml

Version:

MusicXML to Vexflow

21 lines (20 loc) 599 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Rehearsal = void 0; /** * 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/ */ class Rehearsal { element; constructor(element) { this.element = element; } /** Returns the content of the element. */ getText() { return this.element.content().withDefault('').str(); } } exports.Rehearsal = Rehearsal;