On 16/07/12 02:38, David Nalesnik wrote:
\offset Arpeggio #'positions #'(-1 . 1)
David
I tried your generalized offsetter with arpeggios. It works fine for an
arpeggio on a chord in a single voice, but doesn't lengthen an arpeggio
where the chord is across voices:
\version "2.15.41"
\include "generalized-offsetter.ly"
\relative c' {
\offset Arpeggio #'positions #'(-1 . 1)
<c c'>\arpeggio
}
treble = \relative c' {
\offset Arpeggio #'positions #'(-1 . 1)
c'\arpeggio
}
bass = \relative c' {
\offset Arpeggio #'positions #'(-1 . 1)
c\arpeggio
}
\score {
\new Staff <<
\clef "treble"
\set Staff.connectArpeggios = ##t
\key c \major
\time 4/4
<<
\context Voice = "1" { \voiceOne \treble }
\context Voice = "4" { \voiceFour \bass }
>>
>>
\layout {
\context {
\Staff
\consists "Span_arpeggio_engraver"
}
}
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user