| [ << Contexts and engravers ] | [Top][Contents] | [ Tweaks and overrides >> ] |
| [ < ラベル付きの分析用ブラケット ] | [ Up: Contexts and engravers ] | [ MIDI チャンネルをボイスごとに割り当てる > ] |
メロディに合わせて譜の中央にある音符の符幹の向きを自動で変更する
LilyPond では、Voice コンテキストに Melody_engraver を追加し、Stem の neutral-direction をオーバライドすることで、譜の中央にある音符の符幹の向きを、メロディに合わせて変更することができます。
\relative c'' { \time 3/4 a8 b g f b g | \set suspendMelodyDecisions = ##t a b g f b g | \unset suspendMelodyDecisions c b d c b c | } \layout { \context { \Voice \consists "Melody_engraver" \autoBeamOff } }
| [ << Contexts and engravers ] | [Top][Contents] | [ Tweaks and overrides >> ] |
| [ < ラベル付きの分析用ブラケット ] | [ Up: Contexts and engravers ] | [ MIDI チャンネルをボイスごとに割り当てる > ] |