|
From: | Flaming Hakama by Elaine |
Subject: | Re: rests in chord symbols with volta endings |
Date: | Wed, 26 Apr 2023 20:27:32 -0700 |
---------- Forwarded message ----------
From: Flaming Hakama by Elaine <elaine@flaminghakama.com>
To: Lilypond-User Mailing List <lilypond-user@gnu.org>
Cc:
Bcc:
Date: Wed, 26 Apr 2023 14:19:36 -0700
Subject: rests in chord symbols with volta endingsHi,I was trying to use https://lsr.di.unimi.it/LSR/Snippet?id=529to add some rests to chord symbolsAfter 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?Producer ~ Composer ~ Instrumentalist ~ Educator\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 Alt415 . 341 .4954 "Confusion is highly underrated"elaine@flaminghakama.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
---------- Forwarded message ----------
From: Jean Abou Samra <jean@abou-samra.fr>
To: Flaming Hakama by Elaine <elaine@flaminghakama.com>, Lilypond-User Mailing List <lilypond-user@gnu.org>
Cc:
Bcc:
Date: Wed, 26 Apr 2023 23:43:37 +0200
Subject: Re: rests in chord symbols with volta endingsLe mercredi 26 avril 2023 à 14:19 -0700, Flaming Hakama by Elaine a écrit :
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?
Well, the snippet neither adds
Axis_group_engraver
toChordNamesRests
, nor makes it child of some context withAxis_group_engraver
likeStaff
. As a result, the chord name grobs are at the level of the whole system, like other system-level grobs such as volta brackets or rehearsal marks. Actually, they are more “system-level” than those, because grobs like volta brackets are moved inside the top staff after line breaking.I don't understand why the snippet has these
VerticalAxisGroup
overrides. They have no effect, since there is noVerticalAxisGroup
in the context.Try
\version "2.24.1" \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 \consists Axis_group_engraver \override VerticalAxisGroup.staff-affinity = #DOWN \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 >> >> }
Regards,
Jean
---------- Forwarded message ----------
From: Jean Abou Samra <jean@abou-samra.fr>
To: Flaming Hakama by Elaine <elaine@flaminghakama.com>, Lilypond-User Mailing List <lilypond-user@gnu.org>
Cc:
Bcc:
Date: Wed, 26 Apr 2023 23:47:38 +0200
Subject: Re: rests in chord symbols with volta endingsLe mercredi 26 avril 2023 à 23:43 +0200, Jean Abou Samra a écrit :
structure = { \repeat volta 2 { s1 } \alternative { { s1 } { s1 } } }
By the way: regarding the above, I invite you to read the thread
https://lists.gnu.org/archive/html/lilypond-user/2022-11/msg00199.html
[Prev in Thread] | Current Thread | [Next in Thread] |