「VexFlow test content」の版間の差分
(→概要) |
(→概要) |
||
(同じ利用者による、間の1版が非表示) | |||
142行目: | 142行目: | ||
stave1.setClef("treble").setContext(ctx); | stave1.setClef("treble").setContext(ctx); | ||
stave1.setTimeSignature('4/4').setContext(ctx); | stave1.setTimeSignature('4/4').setContext(ctx); | ||
stave1.draw(); | stave1.draw(); | ||
const notes1 = [ | const notes1 = [ | ||
new VF.StaveNote({ keys: ["a/5"], duration: " | new VF.StaveNote({ keys: ["a/5"], duration: "1" }), | ||
]; | ]; | ||
SteveNoteUniqueIds = getUniqueStaveNotesIds(notes1, [ | //SteveNoteUniqueIds = getUniqueStaveNotesIds(notes1, [0]); | ||
allFlagUniqueIds = updateAllFlagUniqueIds(SteveNoteUniqueIds); | //allFlagUniqueIds = updateAllFlagUniqueIds(SteveNoteUniqueIds); | ||
UniqueIds = getUniqueNoteheadIds(notes1[0]); | //UniqueIds = getUniqueNoteheadIds(notes1[0]); | ||
allUniqueIds = updateAllUniqueIds(UniqueIds); | //allUniqueIds = updateAllUniqueIds(UniqueIds); | ||
var stave1Voice = new Vex.Flow.Voice({ num_beats: 4, beat_value: 4 }); | var stave1Voice = new Vex.Flow.Voice({ num_beats: 4, beat_value: 4 }); |
2024年4月12日 (金) 22:28時点における最新版
概要