lilypond - 这个 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 中表达这种音乐理念的好方法吗?有没有更好的办法?
解决方案
邮件列表的良好回复:https ://lists.gnu.org/archive/html/lilypond-user/2018-06/msg00141.html
可以按情况覆盖梁斜率,例如:\once \override Beam.positions = #'( 5 . 5.5)
推荐阅读
- python - 除了反向传播,我想在 CPU 上使用 Tensorflow
- autosys - Autosys 作业框在未满足其起始条件的情况下启动
- python - 使用 Keras 获取关于输入的损失函数梯度的错误
- css - 如何交替设置 4 个元素的样式并使用 css 重复?
- arrays - 如何从 csv 文件中查找数据
- python - 如何使用私有通道将 Flask python Web 应用程序推送到 Pivotal Cloud Foundry 以设置 anaconda 环境?
- parsing - OCaml:如何在没有堆栈的 LL 解析期间构造 AST
- java - 如何在 PySpark 中启用公平调度程序?
- android - 使用 AndroidX 和 React Native 的问题
- android - 如何通过 webView 应用程序 android 上传图像 .. 这是我的应用程序