bug-lilypond
[Top][All Lists]
Advanced

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

Re: Trill Spanner


From: Colin Campbell
Subject: Re: Trill Spanner
Date: Fri, 10 Jun 2011 21:48:12 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Lightning/1.0b2 Thunderbird/3.1.10

On 11-06-09 09:58 PM, Colin Campbell wrote:
On 11-06-09 04:27 PM, Stefano Cucuzzella wrote:
Hello,

if in a polyphony you try to put a trill spanner on the lower voice, it´ll not work and it´ll keep showing the trill spanner above the staff. How can that be
corrected?
Many thanks!

Stefano


_______________________________________________
bug-lilypond mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Would you have a Tiny example of code which produces the problem, Stefano?

Colin Campbell
Bug Squad


Stefano replied off-list with the following:

*=====================================
\version "2.12.3"


\relative {


<<  { d2 ~ d ~ d4 ~ d8 r8 s2 s2 } \\
        {
\override DynamicLineSpanner #'padding = #-12.0                 %%that doesn´t 
work either
        \pitchedTrill c4_\startTrillSpan bes \pitchedTrill b4_\startTrillSpan ~ c b2 
~<<  b2 ~ {s4 s8. s16_\stopTrillSpan}>>
        \stemUp
        b2\startTrillSpan ~<<  b2 {s4 s8. s16\stopTrillSpan}>>}>>



}

*==============================

I believe that what he wants is something like this:

\version "2.12.3"

\relative c' {

<<

{ d2 ~ d ~ d4 ~ d8 r8 s2 s2 }

\\

{

\override Voice.TrillSpanner #'direction = #DOWN %% this is the part you need to change

\pitchedTrill c4_\startTrillSpan bes \pitchedTrill b4_\startTrillSpan ~ c b2 ~

<< b2 ~ { s4 s8. s16_\stopTrillSpan } >>

\override Voice.TrillSpanner #'direction = #UP %% and here we put the trillSpanner on top again

b2\startTrillSpan ~ << b2 { s4 s8. s16\stopTrillSpan } >>

}

>>

}



Hope this helps, Stefano!

Colin Campbell
Bug Squad

--
A chief event of life is the day in which we have encountered a mind
that startled us.
 -Ralph Waldo Emerson, writer and philosopher (1803-1882)



reply via email to

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