lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rests in chord symbols with volta endings


From: Flaming Hakama by Elaine
Subject: rests in chord symbols with volta endings
Date: Wed, 26 Apr 2023 14:19:36 -0700

Hi, 

I was trying to use https://lsr.di.unimi.it/LSR/Snippet?id=529
to add some rests to chord symbols

After using convert-ly it worked as is.

However, when using this in the context of repeat voltas, 
chords in the endings appear above the ending lines, 
rather than below as normal.

Does anyone have any suggestions for how to get the chord symbols below the ending lines?


\version "2.22.0"

\layout {
  \context {
    \type "Engraver_group"
    \name ChordNamesRests
    \description "Typesets chord names."

    \consists "Output_property_engraver"
    \consists "Separating_line_group_engraver"
    \consists Chord_name_engraver \consists Current_chord_text_engraver

    \consists "Rest_engraver"

    noChordSymbol = ##f

    \override VerticalAxisGroup.staff-staff-spacing = #'((padding . 1))
    \override VerticalAxisGroup.remove-first = ##t
    \override VerticalAxisGroup.remove-empty = ##t
  }

  \context {
    \Score
    \accepts ChordNamesRests
  }
}

music = {
  c4 d e d
  f4 r g r
  c,1
}

structure = {
    \repeat volta 2 {
        s1
    }
    \alternative {
        { s1 }
        { s1 }
    }
}
\score {
  <<
    \new ChordNamesRests {
      \chordmode {
        \override Rest.Y-offset = #1
        \music
      }
    }
    \relative c' <<
        \structure
        \music
    >>
>>
}



Thanks, 

Elaine Alt
415 . 341 .4954                                           "Confusion is highly underrated"
elaine@flaminghakama.com
Producer ~ Composer ~ Instrumentalist ~ Educator
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

reply via email to

[Prev in Thread] Current Thread [Next in Thread]