@stringsync/vexml
Version:
MusicXML to Vexflow
30 lines (29 loc) • 581 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Pitch = void 0;
class Pitch {
config;
log;
step;
octave;
constructor(config, log, step, octave) {
this.config = config;
this.log = log;
this.step = step;
this.octave = octave;
}
getStep() {
return this.step;
}
getOctave() {
return this.octave;
}
parse() {
return {
type: 'pitch',
step: this.step,
octave: this.octave,
};
}
}
exports.Pitch = Pitch;