簡體   English   中英

Lilypond:手動打印密鑰簽名(或取消)

[英]Lilypond: manually print a key signature (or cancellation)

我的作品涉及在密鑰簽名更改中進行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或更高版本中,我將如何實現?

附加到您的代碼

\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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM