lilypond-user
[Top][All Lists]
Advanced

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

Re: Changing the shape of more than one laissezVibrer in chord


From: Nick Payne
Subject: Re: Changing the shape of more than one laissezVibrer in chord
Date: Sat, 19 Oct 2013 12:57:33 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

On 19/10/13 07:07, Gilberto Agostinho wrote:
Hi all,

I would like to change the shape of more than one laissezVibrer at the same
time in chord, but I can't seem to find an way to do it because they are
simultaneous. Does anyone have any idea how to solve this problem?

\version "2.17.28"
\markup {The top laissezVibrer is looking like I want, but not the bottom
one.}
{
   \shape #'((0 . 0) (0 . 0.5) (3 . 0.5) (3 . 0)) LaissezVibrerTie
   <c' c''>1\laissezVibrer | R1 |
}
\markup {I would like the bottom laissezVibrer to look like this:}
{
   \shape #'((0 . 0) (0 . -0.5) (3 . -0.5) (3 . 0)) LaissezVibrerTie
   c'1\laissezVibrer | R1 |
}

\version "2.17.28"

% extend laissez-vibrer tie
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)
#})

{
  \extendLV #2.5
  <c' c''>1\laissezVibrer | R1 |
}




reply via email to

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