lilypond-user
[Top][All Lists]
Advanced

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

Re: Vertical slurs


From: Claire Meyer
Subject: Re: Vertical slurs
Date: Thu, 17 Sep 2020 13:22:39 +0200

Hi Lukas,

Oh, yes, unfortunately, I need a normal (cross-staff) arpeggio as well. I need something like a mix between the two following things :
Screenshot_20200917_131526.png
Screenshot_20200917_131709.png
My code looks like :

\version "2.20.0"

upperHighB = \relative c''' {
s8 r8 ees8. des16 |
c4 c8. bes16 |
aes4 bes8. \arpeggio c16 |
des2~ \arpeggio |
des4 c8. bes16 |
}

upperLowB = \relative c' {
\arpeggioNormal <ees g bes>8 \arpeggio s4. |
ees'8. des16 c4 |
c8. bes16 aes4 \arpeggio |
bes8. \arpeggio c16 des4~ |
des2 |
}

lowerVoiceB = \relative c {
\arpeggioNormal <ees bes'>8 \arpeggio r r4 |
<aes, aes,>16 c'[ aes ees] ees'8 ees, |
<c c,>16 c'[ aes ees] ees'8 ees, |
<bes bes,>16 des'[ aes ees] ees'8 ees, |
ees,16 des''[ g, ees] ees'8 ees, |
}

global = {
\time 2/4
\key aes \major
}

upper = {
\global
\clef "treble"

<<
\new Voice { \voiceOne \upperHighB }
\new Voice { \voiceTwo \upperLowB }
>>
}

lower = {
\global
\clef "bass"

\lowerVoiceB
}

\score {
\new PianoStaff
<<
\set PianoStaff.connectArpeggios = ##t
\new Staff = "piano upper" \upper
\new Staff = "piano lower" \lower
>>
% \layout {
% \context {
% \PianoStaff
% \arpeggioParenthesis
% }
% }
}

So yeah, I guess I'd be grateful for a guru. Thanks for your answer though, I'll remember it for when the case arises, cause it works as you said.

Claire

On Thu, Sep 17, 2020 at 12:45 PM Lukas-Fabian Moser <lfm@gmx.de> wrote:

Hi Claire,

Am 17.09.20 um 12:35 schrieb Claire Meyer:
Hi David,

Sorry for replying so late, things happened this week and I got caught up. Thanks for your answer, it does help some. I'm still stuck, though :
image.png
Either it's a "normal looking" arpeggio across the voices, or it's a "parenthesis-looking" one, but I don't know how to have the separate voices.

\arpeggioParenthesis is a \override Arpeggio.xxx, which seems to work on Voice level. We need to move make it work at Staff level; for example, you might add at the beginning of your file:

\layout {
  \context {
    \Staff
    \arpeggioParenthesis
  }
}

This has the drawback of changing the arpeggio style globally for your file (enabling you to omit the occurrences in your music definitions). If that's not okay with you, maybe one of the gurus knows a way to apply \arpeggioParenthesis locally but let it work at staff level.

Lukas


reply via email to

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