2013-08-24 56 views
1

我正在處理一些聚合音樂(即各個樂器的不同拍號),並且顯然小節線不總是重合。要做到這一點,我代替layout { }以下代碼:Lilypond:重複小節線不會顯示在Polymeter音樂

\layout { 
    \context { \Score 
    \remove "Timing_translator" 
    \remove "Time_signature_engraver" 
    \remove "Default_bar_line_engraver" 
    } 
    \context { \Staff 
    \consists "Timing_translator" 
    \consists "Time_signature_engraver" 
    \consists "Default_bar_line_engraver" 
} 

現在一切工作正常,除了條線雕刻...如果我嘗試添加重複條線,他們將不會出現在最終的得分了!不僅如此,實際上在這些點上根本就沒有酒吧線!下面是一個完整的例子:

\version "2.17.24" 
A = { 
    \time 2/4 
    c'4 e' \bar "|:" g' c'' \bar ":|" e'' g'' \bar "|." 
} 
B = { 
    \time 3/4    
    c''4 g' e' \bar "||" c' g c' \bar "|." 
} 
\score { 
    << 
    \new Staff \A 
    \new Staff \B 
    >> 
    \layout { 
    \context { \Score 
     \remove "Timing_translator" 
     \remove "Time_signature_engraver" 
     \remove "Default_bar_line_engraver" 
    } 
    \context { \Staff 
     \consists "Timing_translator" 
     \consists "Time_signature_engraver" 
     \consists "Default_bar_line_engraver" 
    } 
    } 
} 

此代碼生成: enter image description here

注NO條線是如何工作人員A所示如果我們取出/bar "|:"/bar ":|",因此具有一樣簡單.. 。

A = { 
    \time 2/4 
    c'4 e' g' c'' e'' g'' \bar "|." 
} 

...條線通常會顯示:

enter image description here

我能做些什麼來解決這個問題?

回答

2

與舊版本相比,版本2.17上的小節線雕刻機經歷了許多修改。由於代碼錯誤,條形線不顯示。這裏是正確的條列的命令列表爲LilyPond的2.17:

http://www.lilypond.org/doc/v2.17/Documentation/notation/bars

+1

謝謝!我在類似的聚合宏觀方面遇到了很多問題,也無法解決這個問題。 –

0

至於自動重複條線,如果一個移動「Repeat_acknowledge_engraver」從得分到員工上下文中,他們將被顯示佈局:

\version "2.17.24" 
A = { 
    \time 2/4 
    c'4 e' \repeat volta 2 { g' c'' } e'' g'' \bar "|." 
} 

\score { 
    \new Staff \A 
    \layout { 
    \context { \Score 
     \remove "Timing_translator" 
     \remove "Default_bar_line_engraver" 
     \remove "Repeat_acknowledge_engraver" 
    } 
    \context { \Staff 
     \consists "Timing_translator" 
     \consists "Default_bar_line_engraver" 
     \consists "Repeat_acknowledge_engraver" 
    } 
    } 
} 

更多關於這個問題: https://code.google.com/p/lilypond/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Stars%20Owner%20Patch%20Needs%20Summary&groupby=&sort=&id=3520