lilypond-user
[Top][All Lists]
Advanced

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

Re: changing the length (height? positions? endpoints?) of an arpeggio


From: Kieren MacMillan
Subject: Re: changing the length (height? positions? endpoints?) of an arpeggio
Date: Sat, 8 Sep 2018 16:36:41 -0400

Hi Harm,

> You need to go for
> \once \override _PianoStaff_.Arpeggio.positions = #'(-3 . 12)

I tried that, of course…

> NB the first value of the pair is the lower end!
> Thus '(3 . -12) wouldn't print anything.

Ah! That’s why it wasn’t working. D’oh!

> Or use \offset
> \once \offset positions #'(0 . 1) PianoStaff.Arpeggio

That’s definitely the winner for simplicity/clarity:

\version "2.19.80"

upper = {
  \time 3/4
  <c'>2.\arpeggio
  \once \offset positions #'(-0.5 . 0.5) PianoStaff.Arpeggio
  <c'>2.\arpeggio
}

lower = {
  \time 3/4
  \clef bass
  <c e g>2.\arpeggio
  <c e g>2.\arpeggio
}

\score {
  \new PianoStaff <<
    \new Staff \upper
    \new Staff \lower
  >>
  \layout {
    \context {
      \PianoStaff
      connectArpeggios = ##t
    }
  }
}

Thanks!
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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