0

我正在尝试排版 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 { }
}

你会注意到我选择了创建一个临时的复音段落,我可以选择隐藏高音或低音。我对两者都进行了试验,但将渲染的声音保持在上侧并保持较低的声音隐藏似乎更合乎逻辑。但是,这会使转弯出现在五线谱的下部。

编辑

我已经用一个片段更新了这个问题,现在应该编译给其他人尝试。我的主要问题是延迟转弯发生在必须跨越分句连线的段落中。由于我无法找到跨单声部和多声部段落的连音跨度的方法,因此我需要将和弦段落保持更长的时间,而不仅仅是延迟的转弯部分。

我怎样才能改进转弯和意外的位置。

4

2 回答 2

3

在您更新的示例中,问题有所不同,因此我添加了一个新答案。您在临时复调乐段中使用了双反斜杠结构,并且五线谱下方显示转折。发生这种情况是因为您从未明确定义声音。在符号参考 1.5.2 中:

<< {…} \ {…} >> 构造,其中两个(或更多)表达式由双反斜杠分隔,其行为与没有双反斜杠的类似构造不同:此构造中的所有表达式都分配给新语音上下文。这些新的语音上下文是隐式创建的。

所以 LilyPond 会将 \voiceOne 分配给第一个声音,将 \voiceTwo 分配给第二个声音。在 \voiceTwo 中,\turn 和其他类似对象显示在乐谱下方。我推荐阅读Explicitly instanceing voices

解决方案:删除\\或添加\voiceThree临时复调段落的第二声部(\voiceOne 在段落的第一个声部中隐含使用,如果您在第二个中使用它,您将与连线发生冲突;这就是为什么您需要\voiceThree)。

于 2016-05-22T08:05:25.220 回答
0

您不应该在 \markup 块中使用 \turn;相反,请立即将其附加到注释中:

\once \hideNotes b16-\turn

顺便说一下,这是lilypond 文档中的示例

我无法编译你的片段,所以我从头开始重新创建它(免责声明:我不弹钢琴,我的音乐知识有限)但对我来说看起来不错:

\version "2.19.40"

global = {
  \key bes \major
  \numericTimeSignature
  \time 12/8
}

right = \relative c'' {
  \global
  % bar 14
  <<
    { d4.-> c2. c4.-2( | }
    {
      s1 s4
      \once \set suggestAccidentals = ##t
      \once \override AccidentalSuggestion.outside-staff-priority = ##f
      \once \override AccidentalSuggestion.avoid-slur = #'inside
      \once \override AccidentalSuggestion.font-size = -3
      \once \override AccidentalSuggestion.script-priority = -1
      \single \hideNotes
      b4-\turn
    }
  >>
  f'4.-5) ees4-3
}

left = \relative c {
  \global
  % bar 14
  e8\sustainOn([ c' bes g' c, bes] e, g' bes, ees,\sustainOn f' a,) |
  ees8\sustainOn f' bes,-2 f-5\sustainOff
}

\score {
  \new PianoStaff
  <<
    \new Staff = "right" \right
    \new Staff = "left" { \clef bass \left }
  >>
  \layout { }
}

在此处输入图像描述

于 2016-05-21T21:42:22.830 回答