Jump to content

Positioning arpeggios: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
If you need to extend or shorten an arpeggio, you can modify the upper and lower start positions independently.
If you need to extend or shorten an arpeggio, you can modify the upper and lower start positions independently.


<lilypond version="2.24.0">
<lilypond version="2.24">
\relative c' {
\relative c' {
   <c e g b>1\arpeggio
   <c e g b>1\arpeggio

Revision as of 18:52, 16 November 2025

If you need to extend or shorten an arpeggio, you can modify the upper and lower start positions independently.

\version "2.24"

\relative c' {
  <c e g b>1\arpeggio
  \once \override Arpeggio.positions = #'(-5 . 0)
  <c e g b>1\arpeggio
  \once \override Arpeggio.positions = #'(0 . 5)
  <c e g b>1\arpeggio
  \once \override Arpeggio.positions = #'(-5 . 5)
  <c e g b>1\arpeggio
}