我正在尝试排版 John Field 的短钢琴曲“Nocturne n°5”。我的主要问题出现在第 14、17 和 38 小节,其中 gruppetto 被渲染为带有自然符号的延迟转弯。
这是您可以在 Internet 上找到的其中一个版本中的外观:
这是我自己可以实现的:
这是我尝试过的代码:
\版本“2.8.12”
upper = \relative c'' {
\key bes \major
\time 12/8
%bar 14
d4.-> c2.
<<
{
c4.( f4. ees4 c8 bes4. c4.
des2.~\sf des4.)
}
\\
{
% we create the following sequence: { r8 d16 c16 b16 c16 }
s8
\single \hideNotes d16
\single \hideNotes c16
\single \hideNotes \once \set suggestAccidentals = ##t
\single \hideNotes \once \override AccidentalSuggestion #'outside-staff-priority = ##f
\single \hideNotes \once \override AccidentalSuggestion #'avoid-slur = #'inside
\single \hideNotes \once \override AccidentalSuggestion #'font-size = #-3
\single \hideNotes \once \override AccidentalSuggestion #'script-priority = #-1
\single \hideNotes b16-\turn
\single \hideNotes c16
% those spaces are to align with the second voice
% kept in the for the duration of the phrasing slur
s2. s2.
s2. s4.
}
>>
}
lower = \relative c {
\key bes \major
\time 12/8
%bar14
e8[( \sustainOn c'8 bes8 g'8 c,8 bes8]
e,8[ g'8 bes,8]
ees,8[ \sustainOn f'8 a,8])
d,8[( \sustainOn f'8 bes,8]
ees,8[ \sustainOff c'8 g8]
f8[ d'8 bes8]
f8[ ees'8 a,8])
}
\score {
\new PianoStaff
<<
\new Staff = "upper" { \clef treble \upper }
\new Staff = "lower" { \clef bass \lower }
>>
\layout { }
}
你会注意到我选择了创建一个临时的复音段落,我可以选择隐藏高音或低音。我对两者都进行了试验,但将渲染的声音保持在上侧并保持较低的声音隐藏似乎更合乎逻辑。但是,这会使转弯出现在五线谱的下部。
编辑
我已经用一个片段更新了这个问题,现在应该编译给其他人尝试。我的主要问题是延迟转弯发生在必须跨越分句连线的段落中。由于我无法找到跨单声部和多声部段落的连音跨度的方法,因此我需要将和弦段落保持更长的时间,而不仅仅是延迟的转弯部分。
我怎样才能改进转弯和意外的位置。