「VexFlow タブ譜 同一コード連続弾き」の版間の差分

提供:yonewiki
1,358行目: 1,358行目:


const Guitar2_notes4_1 = [
const Guitar2_notes4_1 = [
   new VF.StaveNote({ keys: ["d/4", "a/4", "d/5", "f/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["g/3", "d/4", "g/4", "d/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["f/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["f/5"], duration: "8" }),


1,370行目: 1,370行目:


   new VF.StaveNote({ keys: ["f/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["f/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["f/5"], duration: "8" }),
   new VF.StaveNote({ keys: ["f/5"], duration: "16" }),
  new VF.StaveNote({ keys: ["f/5"], duration: "16" }),
];
];
const Guitar2_notes4_2 = [
const Guitar2_notes4_2 = [
1,397行目: 1,398行目:
const Guitar2_St4_beam1_2 = new VF.Beam([Guitar2_notes4_1[2], Guitar2_notes4_1[3], Guitar2_notes4_1[4]]);
const Guitar2_St4_beam1_2 = new VF.Beam([Guitar2_notes4_1[2], Guitar2_notes4_1[3], Guitar2_notes4_1[4]]);
const Guitar2_St4_beam1_3 = new VF.Beam([Guitar2_notes4_1[5], Guitar2_notes4_1[6], Guitar2_notes4_1[7]]);
const Guitar2_St4_beam1_3 = new VF.Beam([Guitar2_notes4_1[5], Guitar2_notes4_1[6], Guitar2_notes4_1[7]]);
const Guitar2_St4_beam1_4 = new VF.Beam([Guitar2_notes4_1[8], Guitar2_notes4_1[9]]);
const Guitar2_St4_beam1_4 = new VF.Beam([Guitar2_notes4_1[8], Guitar2_notes4_1[9], Guitar2_notes4_1[10]]);


UniqueIds = getUniqueNoteheadIds(Guitar2_notes4_1, [1, 2, 3, 4, 5, 6, 7, 8, 9]);
UniqueIds = getUniqueNoteheadIds(Guitar2_notes4_1, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
allUniqueIds = updateAllUniqueIds(UniqueIds);
allUniqueIds = updateAllUniqueIds(UniqueIds);


1,422行目: 1,423行目:
shiftGuitar2_St4 = addShift(
shiftGuitar2_St4 = addShift(
   Guitar2_notes4_1,  
   Guitar2_notes4_1,  
   [0, 1, 2, 3, 4, 6, 7, 8, 9],
   [0, 1, 2, 3, 4, 6, 7, 8, 9, 10],
   [2, 2, 2, 2, 2, 2, 2, 2, 2]
   [2, 2, 2, 2, 2, 2, 2, 2, 2, 2]
);
);



2024年4月10日 (水) 22:08時点における版

VexFlow 使い方に戻る。

概要

 

 

タブ譜 同一コード連続弾き


 コードは以下のとおりです。


<div id="yonet202403Mid_Output01"></div>
<script>

</script>


 

 

VexFlow 使い方に戻る。