「VexFlow test content」の版間の差分

提供:yonewiki
156行目: 156行目:


const notes1 = [
const notes1 = [
   new VF.StaveNote({ keys: ["a/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["a/5"], duration: "2" }),
  new VF.StaveNote({ keys: ["e/5"], duration: "8" }),
  new VF.StaveNote({ keys: ["f/5"], duration: "8" }),
  new VF.StaveNote({ keys: ["g/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["a/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["a/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["e/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["e/5"], duration: "8" }),
165行目: 162行目:
   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[1].addModifier(new VF.Articulation('a.').setPosition(3));
notes1[4].addModifier(new VF.GraceNoteGroup(gracenotes1, true), 0);
notes1[1].addModifier(new VF.GraceNoteGroup(gracenotes1, true), 0);


SteveNoteUniqueIds = getUniqueStaveNotesIds(notes1, [4]);
SteveNoteUniqueIds = getUniqueStaveNotesIds(notes1, [1]);
allFlagUniqueIds = updateAllFlagUniqueIds(SteveNoteUniqueIds);
allFlagUniqueIds = updateAllFlagUniqueIds(SteveNoteUniqueIds);


UniqueIds = getUniqueNoteheadIds(notes1[0]);
UniqueIds = getUniqueNoteheadIds(notes1[0]);
allUniqueIds = updateAllUniqueIds(UniqueIds);
UniqueIds = getUniqueNoteheadIds(notes1[1]);
allUniqueIds = updateAllUniqueIds(UniqueIds);
allUniqueIds = updateAllUniqueIds(UniqueIds);



2024年4月6日 (土) 16:44時点における版

概要