| [ << Contexts and engravers ] | [トップ][目次] | [ Tweaks and overrides >> ] |
| [ < 改行時に譜を追加する ] | [ 上へ : Contexts and engravers ] | [ 小節番号を中央揃えする > ] |
メロディに合わせて譜の中央にある音符の符幹の向きを自動で変更する
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 ] | [トップ][目次] | [ Tweaks and overrides >> ] |
| [ < 改行時に譜を追加する ] | [ 上へ : Contexts and engravers ] | [ 小節番号を中央揃えする > ] |
![[image of music]](../be/lily-1f3bc648.png)