Taktstriche Doppelstrich gefolgt von Wiederholungszeichen

Zur Navigation springen Zur Suche springen

In vielen Noten wird eine doppelte Taktlinie gezogen, wenn diese am Zeilenende vor einer Wiederholung steht. Dies kann man mit folgendem Code bewirken:

\bar ".|:-||"

Code

\version "2.19.82"
\language "deutsch"

\paper {
  ragged-right = ##t
  indent = 0
}

mus = \relative c'' { \repeat unfold 4 c4 }

\displayLilyMusic \new PianoStaff
<<
  \new Staff {
    \omit Score.BarNumber
    \mus \mus \bar ".|:-||"
    \repeat volta 2
    { \mus \mus }
    \mus \mus
    \bar ".|:-||" \break
    \repeat volta 2
    { \mus }
  }
  \new Staff
  { \repeat unfold 7 \mus }
>>

Graphische Ausgabe

Doppeltebarlines.png

Lilypond-Music

\new PianoStaff << \new Staff {
     \override Score.BarNumber.stencil = ##f
     { \repeat unfold 4 c''4  } { \repeat unfold 4 c''4  } \bar ".|:-||"
     \repeat volta 2 { { \repeat unfold 4 c''4  } { \repeat unfold 4 c''4  } }  { \repeat unfold 4 c''4  } { \repeat unfold 4 c''4  } \bar ".|:-||"
     \break \repeat volta 2 { { \repeat unfold 4 c''4  } } 
   } \new Staff { \repeat unfold 7 { \repeat unfold 4 c''4  }  } >>

Scheme-Repräsentation

Die Darstellung dieses relativ einfachen Musikausdrucks als Scheme-Liste schaut ziemlich kompliziert aus.
(make-music
  'ContextSpeccedMusic
  'create-new
  #t
  'property-operations
  '()
  'context-type
  'PianoStaff
  'element
  (make-music
    'SimultaneousMusic
    'elements
    (list (make-music
            'ContextSpeccedMusic
            'create-new
            #t
            'property-operations
            '()
            'context-type
            'Staff
            'element
            (make-music
              'SequentialMusic
              'elements
              (list (make-music
                      'ContextSpeccedMusic
                      'context-type
                      'Score
                      'element
                      (make-music
                        'OverrideProperty
                        'pop-first
                        #t
                        'grob-property-path
                        (list (quote stencil))
                        'grob-value
                        #f
                        'symbol
                        'BarNumber))
                    (make-music
                      'RelativeOctaveMusic
                      'element
                      (make-music
                        'SequentialMusic
                        'elements
                        (list (make-music
                                'UnfoldedRepeatedMusic
                                'elements
                                '()
                                'repeat-count
                                4
                                'element
                                (make-music
                                  'NoteEvent
                                  'duration
                                  (ly:make-duration 2)
                                  'pitch
                                  (ly:make-pitch 1 0))))))
                    (make-music
                      'RelativeOctaveMusic
                      'element
                      (make-music
                        'SequentialMusic
                        'elements
                        (list (make-music
                                'UnfoldedRepeatedMusic
                                'elements
                                '()
                                'repeat-count
                                4
                                'element
                                (make-music
                                  'NoteEvent
                                  'duration
                                  (ly:make-duration 2)
                                  'pitch
                                  (ly:make-pitch 1 0))))))
                    (make-music
                      'ContextSpeccedMusic
                      'context-type
                      'Timing
                      'element
                      (make-music
                        'PropertySet
                        'value
                        ".|:-||"
                        'symbol
                        'whichBar))
                    (make-music
                      'VoltaRepeatedMusic
                      'elements
                      '()
                      'repeat-count
                      2
                      'element
                      (make-music
                        'SequentialMusic
                        'elements
                        (list (make-music
                                'RelativeOctaveMusic
                                'element
                                (make-music
                                  'SequentialMusic
                                  'elements
                                  (list (make-music
                                          'UnfoldedRepeatedMusic
                                          'elements
                                          '()
                                          'repeat-count
                                          4
                                          'element
                                          (make-music
                                            'NoteEvent
                                            'duration
                                            (ly:make-duration 2)
                                            'pitch
                                            (ly:make-pitch 1 0))))))
                              (make-music
                                'RelativeOctaveMusic
                                'element
                                (make-music
                                  'SequentialMusic
                                  'elements
                                  (list (make-music
                                          'UnfoldedRepeatedMusic
                                          'elements
                                          '()
                                          'repeat-count
                                          4
                                          'element
                                          (make-music
                                            'NoteEvent
                                            'duration
                                            (ly:make-duration 2)
                                            'pitch
                                            (ly:make-pitch 1 0)))))))))
                    (make-music
                      'RelativeOctaveMusic
                      'element
                      (make-music
                        'SequentialMusic
                        'elements
                        (list (make-music
                                'UnfoldedRepeatedMusic
                                'elements
                                '()
                                'repeat-count
                                4
                                'element
                                (make-music
                                  'NoteEvent
                                  'duration
                                  (ly:make-duration 2)
                                  'pitch
                                  (ly:make-pitch 1 0))))))
                    (make-music
                      'RelativeOctaveMusic
                      'element
                      (make-music
                        'SequentialMusic
                        'elements
                        (list (make-music
                                'UnfoldedRepeatedMusic
                                'elements
                                '()
                                'repeat-count
                                4
                                'element
                                (make-music
                                  'NoteEvent
                                  'duration
                                  (ly:make-duration 2)
                                  'pitch
                                  (ly:make-pitch 1 0))))))
                    (make-music
                      'ContextSpeccedMusic
                      'context-type
                      'Timing
                      'element
                      (make-music
                        'PropertySet
                        'value
                        ".|:-||"
                        'symbol
                        'whichBar))
                    (make-music
                      'LineBreakEvent
                      'break-permission
                      'force)
                    (make-music
                      'VoltaRepeatedMusic
                      'elements
                      '()
                      'repeat-count
                      2
                      'element
                      (make-music
                        'SequentialMusic
                        'elements
                        (list (make-music
                                'RelativeOctaveMusic
                                'element
                                (make-music
                                  'SequentialMusic
                                  'elements
                                  (list (make-music
                                          'UnfoldedRepeatedMusic
                                          'elements
                                          'repeat-count
                                          4
                                          'element
                                          (make-music
                                            'NoteEvent
                                            'duration
                                            (ly:make-duration 2)
                                            'pitch
                                            (ly:make-pitch 1 0))))))))))))
          (make-music
            'ContextSpeccedMusic
            'create-new
            #t
            'property-operations
            '()
            'context-type
            'Staff
            'element
            (make-music
              'SequentialMusic
              'elements
              (list (make-music
                      'UnfoldedRepeatedMusic
                      'elements
                      '()
                      'repeat-count
                      7
                      'element
                      (make-music
                        'RelativeOctaveMusic
                        'element
                        (make-music
                          'SequentialMusic
                          'elements
                          (list (make-music
                                  'UnfoldedRepeatedMusic
                                  'elements
                                  '()
                                  'repeat-count
                                  4
                                  'element
                                  (make-music
                                    'NoteEvent
                                    'duration
                                    (ly:make-duration 2)
                                    'pitch
                                    (ly:make-pitch 1 0)))))))))))))