@stringsync/vexml
Version:
MusicXML to Vexflow
21 lines (20 loc) • 593 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Pluck = void 0;
/**
* The `<pluck>` element is used to specify the plucking fingering on a fretted instrument, where the fingering element
* refers to the fretting fingering.
*
* See https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/pluck/
*/
class Pluck {
element;
constructor(element) {
this.element = element;
}
/** Returns the plucking finger. Defaults to null. */
getFinger() {
return this.element.content().str();
}
}
exports.Pluck = Pluck;