「VexFlow タブ譜 ミュート」の版間の差分
530行目: | 530行目: | ||
Guitar1_tab_1st.y = Guitar1_Tab_St1.y; | Guitar1_tab_1st.y = Guitar1_Tab_St1.y; | ||
var | var Guitar1Connector_St1_L = new VF.StaveConnector(Guitar1_St1, Guitar1_Tab_St1); | ||
Guitar1Connector_St1_L.setType(VF.StaveConnector.type.BRACKET); | |||
Guitar1Connector_St1_L.setContext(ctx); | |||
Guitar1Connector_St1_L.draw(); | |||
Guitar1Inst.x = Vocal_St1.x - 30; | Guitar1Inst.x = Vocal_St1.x - 30; | ||
650行目: | 650行目: | ||
Guitar2tab_4st.y = Guitar2_Tab_St4.y; | Guitar2tab_4st.y = Guitar2_Tab_St4.y; | ||
var | var Guitar2Connector_St1_L = new VF.StaveConnector(Guitar2_St1, Guitar2_Tab_St1); | ||
Guitar2Connector_St1_L.setType(VF.StaveConnector.type.BRACKET); | |||
Guitar2Connector_St1_L.setContext(ctx); | |||
Guitar2Connector_St1_L.draw(); | |||
const Guitar2_vTab_St1 = new VF.Stave(Guitar2_Tab_St1.x, Guitar2_Tab_St1.y - 10, nHeadMargin + nStaveWidth).setContext(ctx); | const Guitar2_vTab_St1 = new VF.Stave(Guitar2_Tab_St1.x, Guitar2_Tab_St1.y - 10, nHeadMargin + nStaveWidth).setContext(ctx); | ||
750行目: | 750行目: | ||
StaveBase4 = Base_Tab4; | StaveBase4 = Base_Tab4; | ||
var | var BaseConnector_St1_L = new VF.StaveConnector(Base_St1, Base_Tab1); | ||
BaseConnector_St1_L.setType(VF.StaveConnector.type.BRACKET); | |||
BaseConnector_St1_L.setContext(ctx); | |||
BaseConnector_St1_L.draw(); | |||
const Drum_St1 = new VF.Stave(Base_Tab1.x, Base_Tab1.y + 120, nHeadMargin + nStaveWidth).setContext(ctx); | const Drum_St1 = new VF.Stave(Base_Tab1.x, Base_Tab1.y + 120, nHeadMargin + nStaveWidth).setContext(ctx); |
2024年4月18日 (木) 18:27時点における版
VexFlow 使い方に戻る。
概要
タブ譜 ミュート
コードは以下のとおりです。
<div id="yonet202404Mid_Output01"></div>
<script>
VexFlow 使い方に戻る。