「VexFlow test content」の版間の差分
編集の要約なし |
(→概要) |
||
(同じ利用者による、間の6版が非表示) | |||
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('#'), 1) | |||
.addModifier(new VF.Accidental('b'), 2) | |||
]; | |||
const notes1 = [ | const notes1 = [ | ||
159行目: | 165行目: | ||
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, [ | SteveNoteUniqueIds = getUniqueStaveNotesIds(notes1, [4]); | ||
allFlagUniqueIds = updateAllFlagUniqueIds(SteveNoteUniqueIds); | allFlagUniqueIds = updateAllFlagUniqueIds(SteveNoteUniqueIds); | ||
211行目: | 219行目: | ||
// 数値の数が23であれば、このpath要素は求めるものです | // 数値の数が23であれば、このpath要素は求めるものです | ||
if (numberOfValues === | if (numberOfValues === 95) { | ||
path.setAttribute("fill", "none"); | path.setAttribute("fill", "none"); | ||
path.setAttribute("stroke", "none"); | path.setAttribute("stroke", "none"); |
2024年4月5日 (金) 23:54時点における版
概要