Home
Random
Log in
Settings
About LilyPond wiki
LilyPond wiki
Search
Editing
Tie at end of first repeat
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
A LaissezVibrer tie can be used to tie a note from the end of the first repeat back to the start of the repeated section. The length of the tie can be tweaked. <lilypond version="2.24"> %% http://lsr.di.unimi.it/LSR/Item?id=794 % contributed by harm6 % discussed: http://old.nabble.com/Tie-at-end-of-first-repeat-td33246568.html % 'extendLV' is taken from LSR-snippet http://lsr.di.unimi.it/LSR/Item?id=715 extendLV = #(define-music-function (further) (number?) #{ \once \override LaissezVibrerTie.X-extent = #'(0 . 0) \once \override LaissezVibrerTie.details.note-head-gap = #(/ further -2) \once \override LaissezVibrerTie.extra-offset = #(cons (/ further 2) 0) #}) \relative c' { c1~ \repeat volta 2 { c2 c2 } \alternative { { c2 \extendLV #3 c2 \laissezVibrer } { d2 d2 } } c2 c2 \bar "|." } </lilypond> [[Category:Repeats]] [[Category:Snippet]]
Summary:
Please note that all contributions to LilyPond wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Meta:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)