[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem spacing arpeggio
From: |
Kieren MacMillan |
Subject: |
Re: Problem spacing arpeggio |
Date: |
Sun, 27 Sep 2009 18:38:28 -0400 |
Hi Nick,
in the second bar, using the same override does nothing to
increase the spacing between the arpeggio and the preceding note.
Hmmm... that's probably because of the multiple-voices... but seems
like maybe a bug?
What means can I use to increase the spacing there?
Well, it's kind of hacky, but...
\version "2.13.3"
#(ly:set-option 'delete-intermediate-files #t)
\pointAndClickOn
arpspace = {
\once \override Staff.Arpeggio #'X-extent = #'(-2 . 1)
}
stemPad = {
\once \override Staff.Stem #'X-extent = #'(0 . 2)
}
ignct = \once \override NoteColumn #'ignore-collision = ##t
treble = \relative c' {
a4 cis\arpeggio
f,32 d a'' d,, f d a'' \stemPad d,, \arpspace f\arpeggio d a'' d,, f
d a'' d,,
}
bass = \relative c {
<e a,>4 <a e a,>\arpeggio
s \ignct d,,\arpeggio
}
middle = \relative c {
s2
f8 f \ignct f f
}
\score {
<<
\context Staff = guitar {
\set Staff.connectArpeggios = ##t
\clef "treble_8"
\key d \minor
\time 2/4
<<
\context Voice = "1" { \voiceOne \treble }
\context Voice = "4" { \voiceFour \bass }
\context Voice = "2" { \voiceTwo \middle }
>>
}
>>
\layout {
\context {
\Staff
\consists "Span_arpeggio_engraver"
}
}
}
Hope this helps!
Kieren.