lilypond-user
[Top][All Lists]
Advanced

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

Re: Is cross voice parenthesis arpeggios possible?


From: Thomas Morley
Subject: Re: Is cross voice parenthesis arpeggios possible?
Date: Sun, 18 Jan 2015 19:08:12 +0100

2015-01-18 18:31 GMT+01:00 Samuel DA MOTA <address@hidden>:
> Hi,
>
> On the following documentation, it explains how to create arpeggios
> across notes in different voices.
> http://lilypond.org/doc/v2.19/Documentation/notation/expressive-marks-as-lines#arpeggio
>
> I tried to tweak the example to get parenthesis arpeggios across
> voices, with no success.
>
> Can anyone help me?
> --
> Samuel DA MOTA



Do you mean?:


\version "2.19.15"

staffArpeggioParenthesis = {
  \override Staff.Arpeggio.stencil = #ly:arpeggio::brew-chord-slur
  \override Staff.Arpeggio.X-extent = #ly:grob::stencil-width
  \revert Staff.Arpeggio.dash-definition
}

\new Staff
  \with {
    \consists "Span_arpeggio_engraver"
  }
  \relative c' {
    \set Staff.connectArpeggios = ##t
    \staffArpeggioParenthesis
    <<
      \new Voice { \voiceOne <e' g>4\arpeggio <d f> <d f>2\arpeggio }
      \new Voice { \voiceTwo <d, f>2\arpeggio <g b>2\arpeggio }
    >>
  }


The predefined arpeggioParenthesis is made for Bottom-context.
Simply add the correct context to the definition.


HTH,
  Harm



reply via email to

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