2015-01-18 18:31 GMT+01:00 Samuel DA MOTA <[email protected]>:
> 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

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to