| [ << Contemporary music ] | [Top][Contents][Index] | [ Ancient notation >> ] |
| [ < Bar lines in contemporary music ] | [ Up: Contemporary music ] | [ Contemporary scoring techniques > ] |
16.3 Graphical notation
Rhythmic items may be continued by a duration line, which gets represented by a
DurationLine grob.
Possible styles are 'beam, 'line, 'dashed-line,
'dotted-line, 'zigzag, 'trill and 'none.
The duration line may end with a hook (beam-style only) or an arrow.
\layout { \context { \Voice \consists Duration_line_engraver \omit Stem \omit Flag \omit Beam \override NoteHead.duration-log = 2 } } { a'1\- s2 r \once \override DurationLine.style = #'line a'1\- s2 r \once \override DurationLine.style = #'dashed-line \once \override DurationLine.dash-period = 2 a'1\- s2 r \once \override DurationLine.style = #'dotted-line \once \override DurationLine.dash-period = 1 \once \override DurationLine.bound-details.right.padding = 1 a'1\- s2 r \once \override DurationLine.thickness = 2 \once \override DurationLine.style = #'zigzag a'1\- s2 r \once \override DurationLine.style = #'trill a'1\- s2 r \once \override DurationLine.style = #'none a'1\- s2 r \once \override DurationLine.bound-details.right.end-style = #'arrow a'1\- s2 r \override DurationLine.bound-details.right.end-style = #'hook a'1\- s2 r \override DurationLine.details.hook-direction = #DOWN a'1\- s2 r \bar "|." }![]()
DurationLine may avoid mid-line items from BreakAlignGroup.
\layout { \context { \Voice \consists "Duration_line_engraver" } } << \new Staff { g'1\- s \clef "alto" g' } \new Staff { \override DurationLine.bound-details.right.end-on-break-align-group = ##t g'1\- s \clef "alto" g' \bar "|." } >>![]()
| [Top][Contents][Index] |
![[image of music]](../7d/lily-3b0089bf.png)
![[image of music]](../dc/lily-62370376.png)