「VexFlow test content」の版間の差分

提供:yonewiki
編集の要約なし
148行目: 148行目:


//SINGLE:1, DOUBLE:2, END:3, REPEAT_BEGIN:4, REPEAT_END:5, REPEAT_BOTH:6, NONE:7
//SINGLE:1, DOUBLE:2, END:3, REPEAT_BEGIN:4, REPEAT_END:5, REPEAT_BOTH:6, NONE:7
const gracenotes1 = [
  new VF.GraceNote({ keys: ['a/4', 'c/5', 'e/5'], duration: '8', slash: true })
  .addModifier(new VF.Accidental('n'), 0)
  .addModifier(new VF.Accidental('#'), 0)
  .addModifier(new VF.Accidental('b'), 0)
];


const notes1 = [
const notes1 = [
   new VF.StaveNote({ keys: ["d/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["d/5"], duration: "8" })
 
   new VF.StaveNote({ keys: ["e/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["e/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["f/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["f/5"], duration: "8" }),
159行目: 166行目:
   new VF.StaveNote({ keys: ["g/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["g/5"], duration: "8" }),
];
];
notes1[4].addModifier(new VF.Articulation('a.').setPosition(3));
notes1[4].addModifier(new VF.GraceNoteGroup(gracenotes1, true), 0);


SteveNoteUniqueIds = getUniqueStaveNotesIds(notes1, [0, 1, 2, 3, 4, 5, 6, 7]);
SteveNoteUniqueIds = getUniqueStaveNotesIds(notes1, [0, 1, 2, 3, 4, 5, 6, 7]);

2024年4月5日 (金) 21:06時点における版

概要