首页 > 解决方案 > 这个 Lilypond 警告是什么:“找不到可行的初始配置:可能找不到好的光束斜率”?

问题描述

这段代码:

\version "2.18.2"

lh = { \change Staff = "down" \stemUp }
rh = { \change Staff = "up" \stemDown }

\new PianoStaff <<
  \new Staff = "up" {
    \new Voice {
      \numericTimeSignature
      \lh a16
      \rh e' a'
      \lh a
      \rh e' a'
      \lh a
      \rh e' a'
      \lh a
      \rh e' a'
      \lh a
      \rh e' b' e'

      \lh a
      \rh e' a'
      \lh a
      \rh e' a'
      \lh a
      \rh e' a'8.
      \lh b16 c'
      \rh e' g' b'
    }
  }
  \new Staff = "down" \with { \clef "bass" \numericTimeSignature }
    { \skip 1 \skip 1 }
>>

编译时产生此输出:

$ lilypond test.ly 
GNU LilyPond 2.18.2
Processing `test.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
test.ly:27:15: warning: no viable initial configuration found: may not find good beam slope
      \lh b16 
              c'
Layout output to `test.ps'...
Converting to `./test.pdf'...
Success: compilation successfully completed

这个通常看起来不错的图形输出:

在此处输入图像描述

我的问题是关于“警告”:

这有不良影响吗?是否有可能获得更好的光束斜率?在我看来,第四拍梁可能应该向上而不是向下(但我知道什么?)。

我的代码是在 lilypond 中表达这种音乐理念的好方法吗?有没有更好的办法?

标签: lilypond

解决方案


邮件列表的良好回复:https ://lists.gnu.org/archive/html/lilypond-user/2018-06/msg00141.html

可以按情况覆盖梁斜率,例如:\once \override Beam.positions = #'( 5 . 5.5)


推荐阅读