LilyPond的:自定义栏线,递归,自动?
-
24-09-2019 - |
题
我的工作涉及复杂的时间签名卡纳提克乐谱,这将需要修改的条列
模式的barlines为:8/4
beats: 1 2 3 4 (dashed bar here) 5, 6 (Dotted Bar) 7, 8 (double bar)
下面的实际成绩为一个杆
g16( f) d8 ees( ees) d16( c d8) bes16[( d c bes \bar "dashed"
a g]) a[( bes c] d[ c d]) \bar ":"
g8( f16) ees8( d16 c d) \bar "||"
有没有办法将这些barlines自动化?
解决方案
让这个尝试。它不完全在你需要有分配给指定barlines一个“隐形”的声音自动的,你需要跟踪的多少措施,这种形式限制需求来扩展和指定适当的展开值。在“S”,如果你还不知道,是一种无形的隔离状态,用休息时间。
\version "2.13.19"
fooBar = { s1 \bar "dashed" s2 \bar ":" s2 \bar "||" }
\new Staff <<
\new Voice = "theMusic" \relative c'' {
% bar 1
g16( f) d8 ees( ees) d16( c d8) bes16[( d c bes
a g]) a[( bes c] d[ c d])
g8( f16) ees8( d16 c d)
% bar 2
g16( f) d8 ees( ees) d16( c d8) bes16[( d c bes
a g]) a[( bes c] d[ c d])
g8( f16) ees8( d16 c d)
}
\new Voice = "theBarLines" { \repeat unfold 2 \fooBar }
>>
不隶属于 StackOverflow