lilypond-user
[Top][All Lists]
Advanced

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

Re: Laissez-vibrer tie of non-zero duration?


From: Robin Bannister
Subject: Re: Laissez-vibrer tie of non-zero duration?
Date: Sat, 13 Jun 2009 15:55:49 +0200

Kalirren wrote:
In general, is it possible to create a laissez-vibrer tie that
lasts a certain length of time, or until a certain note?

Probably not, because IR 3.2.85 [1] says it is
A tie which is only on one side connected to a note head.

You could however make it _look_ longer, but then
- you have to guess how much
- it may collide with something.

extendLV =
#(define-music-function (parser location 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' {
\extendLV #2.5
e8 \laissezVibrer r16 r8
}


Cheers,
Robin

[1] http://lilypond.org/doc/v2.12/Documentation/user/lilypond-internals/semi_002dtie_002dinterface




reply via email to

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