|
From: | Rachel Green |
Subject: | Re: adjusting double glissandi |
Date: | Wed, 26 Jan 2022 01:36:20 +0000 |
Hi Aaron,
Thanks for the reply! Both your code and the code in the thread you linked to works for adding space between the two glissandi lines, but I’m still not sure how to rotate one of the lines so that they are parallel. What would be the grob property
for rotation? Sorry I’m not familiar enough with Scheme. These particular glissandi have significantly different angles due to the different intervals of the chords.
Rachel
%%%%
\version "2.20.0"
\language "english"
#(set-global-staff-size 20)
Treble = \relative c'
{
\time 3/2
\set Voice.baseMoment = #(ly:make-moment 1/8)
\set Voice.beatStructure = 1,1,1,1,1,1,1,1,1,1,1,1
\override Glissando.minimum-length = #6
\override Glissando.springs-and-rods = #ly:spanner::set-spacing-rods
\override Glissando.bound-details.right.arrow = ##t
\voiceOne
<c g' a c>8
\once \override Voice.Glissando.extra-offset =
#(lambda (grob)
(if (= 1 (ly:grob-property grob 'glissando-index)) '(0 . -1)
'(0 . 1)))
<e, g>32*2\glissando <d''' e> \once \stemDown <e g>8 <c,, g' a c> <f g b d>
<f, g>32*2\glissando <d''' f> \once \stemDown <f g>8 <f,, g b d> <e g c e>
<e, g>32*2\glissando <d''' e> \once \stemDown <e g>8 <e,, g c e> |
}
Bass = \relative c
{
\clef bass
R1*3/2
}
\score {
\new GrandStaff
<<
\new Staff = "treble" { \Treble }
\new Staff = "bass" { \Bass }
>>
}
%%%%
|
[Prev in Thread] | Current Thread | [Next in Thread] |