如何在不同声部的音符之间插入一个平局?

时间:2015-03-25 17:05:08

标签: lilypond

我有一个钢琴乐谱,右手(高音)部分有两个声部。 如何在不同声部的两个相同音高的音符之间插入一个平局?

这是我到目前为止所拥有的。 我想把第(A)行的最后一个音符连接到第(B)行的第一个音符,将第(C)行的最后一个音符连接到第(D)行的第一个音符。

\version "2.16.2"
\relative c'' {
  \time 12/8
  \key f \minor
  <<
    {
      aes2.~ \mp
      aes8 ees bes' c bes aes~
    } \\
    {
      ees2. s2.
    }
  >> |
  <<
    {
      aes2.~
      aes8 ees bes' c bes aes~      % (A)
    } \\
    { }
  >> |
  <<
    {
      c2.~
      c8 ees, bes' c bes aes~       % (C)
    } \\
    {
      aes4. ees4.~ ees8 s8 s8 s4.   % (B)
    }
  >> |
  <<
    {
      bes'2.~ bes8 ees, bes' c bes aes
    } \\
    {
      aes4. ees4.~ ees8 s8 s8 s4.   % (D)
    }
  >> |
}

这是输出:

Output from the above LilyPond score

LilyPond在排版时给我以下警告:

mwe.ly:18:26: warning: unterminated tie
      aes8 ees bes' c bes 
                          aes~
mwe.ly:25:25: warning: unterminated tie
      c8 ees, bes' c bes 
                         aes~

如何摆脱这些警告并获得所需的行为,如下图所示?

The desired output (ties hand-drawn in GIMP)

1 个答案:

答案 0 :(得分:5)

你可以使用这个技巧http://www.lilypond.org/doc/v2.18/Documentation/learning/other-uses-for-tweaks.html#tying-notes-across-voices,但你的每个测量复音结构使它变得困难。尝试将两个声部中的所有4个测量值放入一个复音构造中,然后将其设为较低的声音:

ees2. s2.
s2. s4. s4 \tweak Stem.transparent ##t aes8~
aes4. ees4.~ ees8 s8 s8 s4  \tweak Stem.transparent ##t aes8~  % (B)
aes4. ees4.~ ees8 s8 s8 s4.   % (D)

并从上层声音中移除旧的,不起作用的关系。

Sample of result