「VexFlow タブ譜 ハーモニクス」の版間の差分
754行目: | 754行目: | ||
const Guitar1_Tab_St2_notes_1 = [ | const Guitar1_Tab_St2_notes_1 = [ | ||
new VF.StaveNote({ keys: ["g/4"], duration: "8", stem_direction: -1 }), | new VF.StaveNote({ keys: ["g/4"], duration: "8", stem_direction: -1 }), | ||
new VF.StaveNote({ keys: [" | new VF.StaveNote({ keys: ["d/5"], duration: "8", stem_direction: -1 }), | ||
new VF.StaveNote({ keys: [" | new VF.StaveNote({ keys: ["b/4"], duration: "8", stem_direction: -1 }), | ||
new VF.StaveNote({ keys: ["g/4"], duration: "8", stem_direction: -1 }), | new VF.StaveNote({ keys: ["g/4"], duration: "8", stem_direction: -1 }), | ||
new VF.StaveNote({ keys: ["g/4"], duration: "8", stem_direction: -1 }), | new VF.StaveNote({ keys: ["g/4"], duration: "8", stem_direction: -1 }), | ||
new VF.StaveNote({ keys: [" | new VF.StaveNote({ keys: ["d/5"], duration: "8", stem_direction: -1 }), | ||
new VF.StaveNote({ keys: [" | new VF.StaveNote({ keys: ["g/4"], duration: "4", stem_direction: -1 }), | ||
]; | ]; | ||
const Guitar1_Tab_St2_notes_2 = [ | const Guitar1_Tab_St2_notes_2 = [ | ||
787行目: | 786行目: | ||
]; | ]; | ||
UniqueIds = getUniqueNoteheadIds(Guitar1_Tab_St2_notes_1, [0, 1, 2, 3, 4, 5, 6 | UniqueIds = getUniqueNoteheadIds(Guitar1_Tab_St2_notes_1, [0, 1, 2, 3, 4, 5, 6]); | ||
allUniqueIds = updateAllUniqueIds(UniqueIds); | allUniqueIds = updateAllUniqueIds(UniqueIds); | ||
794行目: | 793行目: | ||
]); | ]); | ||
const Guitar1_Tab_St2_beam_2 = new VF.Beam([ | const Guitar1_Tab_St2_beam_2 = new VF.Beam([ | ||
Guitar1_Tab_St2_notes_1[4], Guitar1_Tab_St2_notes_1[5], Guitar1_Tab_St2_notes_1[6 | Guitar1_Tab_St2_notes_1[4], Guitar1_Tab_St2_notes_1[5], Guitar1_Tab_St2_notes_1[6] | ||
]); | ]); | ||
815行目: | 814行目: | ||
shiftGuitar1tab_2st= addShift( | shiftGuitar1tab_2st= addShift( | ||
Guitar1_Tab_St2_notes_1, | Guitar1_Tab_St2_notes_1, | ||
[0, 1, 2, 3, | [0, 1, 2, 3, 3, 5, 5, 6, 6], | ||
[3, | [3, 1, 2, 2, 3, 0, 1, 2, 3] | ||
); | ); | ||