这个 Lilypond 警告是什么:"no viable initial configuration found: may not find good beam slope"?
What is this Lilypond warning: "no viable initial configuration found: may not find good beam slope"?
此代码:
\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
而这个通常好看的图形输出:
我的问题是关于 "warning":
- "no viable initial configuration found: may not find good beam slope"
这有什么不好的影响吗?是否有可能获得更好的光束斜率?在我看来,第四节拍光束可能应该向上而不是向下(但我知道什么?)。
我的代码是否适合在 lilypond 中表达这种音乐理念?有没有更好的方法?
我觉得你的代码简洁明了。
我试了最新的版本,2.19.81,也是一样的警告。我认为警告实际上是在说,我现在碰巧找到了一个可行的梁斜率,但如果你改变东西我可能会失败。
如果您只想让警告消失,请尝试:
\version "2.18.2"
#(ly:expect-warning "no viable initial configuration found")
来自邮件列表的良好响应:https://lists.gnu.org/archive/html/lilypond-user/2018-06/msg00141.html
光束斜率可以根据情况被覆盖,例如:\once \override Beam.positions = #'( 5 . 5.5)
此代码:
\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
而这个通常好看的图形输出:
我的问题是关于 "warning":
- "no viable initial configuration found: may not find good beam slope"
这有什么不好的影响吗?是否有可能获得更好的光束斜率?在我看来,第四节拍光束可能应该向上而不是向下(但我知道什么?)。
我的代码是否适合在 lilypond 中表达这种音乐理念?有没有更好的方法?
我觉得你的代码简洁明了。
我试了最新的版本,2.19.81,也是一样的警告。我认为警告实际上是在说,我现在碰巧找到了一个可行的梁斜率,但如果你改变东西我可能会失败。
如果您只想让警告消失,请尝试:
\version "2.18.2"
#(ly:expect-warning "no viable initial configuration found")
来自邮件列表的良好响应:https://lists.gnu.org/archive/html/lilypond-user/2018-06/msg00141.html
光束斜率可以根据情况被覆盖,例如:\once \override Beam.positions = #'( 5 . 5.5)