我的文章涉及密钥签名更改中的D.S.al密码重复,如:
mark markup { musicglyph #"scripts.segno" }
key a minor
a b c' d'
% more music in a minor
key a major
a b cis' d'
% more music in a major
once override Score.RehearsalMark #'break-visibility = #end-of-line-visible
once override Score.RehearsalMark #'self-alignment-X = #RIGHT
mark "D.S. al coda"
bar "||"
% coda in a major follows
为了帮助玩家在dal segno从大满贯过渡回小满贯,我想在双杠前打印一个取消键。后面的尾段小节应该保持在一个大段中。
在Lilypond 2.14或更高版本中,我将如何实现这一点?
附加到您的代码
key a minor % change key back from a-major to a-minor
s1 % enforce output of key cancellation with a hidden rest
bar "" % suppress trailing bar