lilypond-user
[Top][All Lists]
Advanced

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

Re: arpeggio line


From: Nick Payne
Subject: Re: arpeggio line
Date: Wed, 18 Jul 2012 18:36:35 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0

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"
        }
    }
}




reply via email to

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