VexFlowStaffEntry.ts 735 B

123456789101112131415
  1. import {GraphicalStaffEntry} from "../GraphicalStaffEntry";
  2. import {VexFlowMeasure} from "./VexFlowMeasure";
  3. import {SourceStaffEntry} from "../../VoiceData/SourceStaffEntry";
  4. import {GraphicalNote} from "../GraphicalNote";
  5. export class VexFlowStaffEntry extends GraphicalStaffEntry {
  6. constructor(measure: VexFlowMeasure, sourceStaffEntry: SourceStaffEntry, staffEntryParent: VexFlowStaffEntry) {
  7. super(measure, sourceStaffEntry, staffEntryParent);
  8. }
  9. // The Graphical Notes belonging to this StaffEntry, sorted by voiceID
  10. public graphicalNotes: { [voiceID: number]: GraphicalNote[]; } = {};
  11. // The corresponding VexFlow.StaveNotes
  12. public vfNotes: { [voiceID: number]: Vex.Flow.StaveNote; } = {};
  13. }