Hi Mark

Thanks for the reply, but I think you might have viewed the wrong file?

The LilyPond file i submitted should look like this:  only one chord.

[cid:60417102-5510-42d0-a559-8de6db99c58d]
________________________________
From: Mark Stephen Mrotek <carsonm...@ca.rr.com>
Sent: Sunday, August 29, 2021 5:20 PM
To: Dirck Nagy <dn...@uwlax.edu>; lilypond-user@gnu.org <lilypond-user@gnu.org>
Subject: RE: Arpeggios across notes in different voices


Dirck,



The two chords are of different duration.

\consists "Span_arpeggio_engraver" is not needed.



Mark



From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr....@gnu.org] 
On Behalf Of Dirck Nagy
Sent: Sunday, August 29, 2021 1:32 PM
To: lilypond-user@gnu.org
Subject: Arpeggios across notes in different voices



Hello all



I am trying to extend an arpeggio line to cover the entire chord in the example 
below.



I have tried using this:

{

  \consists "Span_arpeggio_engraver"

}

and this:

 \set Staff.connectArpeggios = ##t

  <<

    { <e' g>4\arpeggio <d f> <d f>2 }

    \\

    { <d, f>2\arpeggio <g b>2 }

  >>

as given in Reference 1.3.3, but I cannot make it work.



I understand the work-around for this example would be to notate all notes in a 
single voice, but i have other situations where this can not be done.



If anyone has time, could someone add the proper sequence & syntax to my 
example, please?  I think i could figure it out from there.

Thank you all so much!



Dirck



Here is the code:



\version "2.20.0"



\header {



  title = "arpeggio example"



  % Remove default LilyPond tagline

  tagline = ##f

}

#(define RH rightHandFinger)

global = {

  \key c \major

  \numericTimeSignature

  \time 4/4

  %tempo padding

  \override Score.MetronomeMark.padding = #5

  \tempo "tempo"

  %pickup measure

  %\partial 4

}



VoiceOne = \relative c' {

  \global

  % Music follows here.

 e1

}



VoiceTwo = \relative c' {

  \global

   \stemDown

  % Music follows here.

  <c, e g c>1 \arpeggio

}



VoiceThree = \relative c' {

  \global

  % Music follows here.



}



VoiceFour = \relative c' {

  \global

  % Music follows here.



}



\score {

  \new Staff \with {

    midiInstrument = "acoustic guitar (nylon)"

  } { \clef "treble_8" << \VoiceOne \\ \VoiceTwo \\ \VoiceThree \\ \VoiceFour 
>> }

  \layout { }



}

\paper {

system-system-spacing.basic-distance =  20

markup-markup-spacing.basic-distance =  8

markup-system-spacing.basic-distance =  36

last-bottom-spacing.basic-distance =  24

top-system-spacing.basic-distance =  1

top-system-spacing.basic-distance =  24



       }




Reply via email to