Jump to content

Positioning arpeggios: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
No edit summary
 
(3 intermediate revisions by 2 users not shown)
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
Line 13: Line 13:
</lilypond>
</lilypond>


[[Category:Included in the official documentation]]
[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Latest revision as of 14:48, 3 December 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
}