2

我的作品涉及一个 DS 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 或更高版本中实现这一点?

4

1 回答 1

2

附加到您的代码

\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
于 2017-09-07T08:23:18.020 回答