lilypond-user
[Top][All Lists]
Advanced

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

Re: spacing notes question


From: Mats Bengtsson
Subject: Re: spacing notes question
Date: Tue, 20 Jan 2009 21:32:00 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Just as for todays tuplet bracket question, you can explicitly specify
the minimum length of the fall/doit:
noteFix = {
\once \override BendAfter #'springs-and-rods = #ly:spanner::set-spacing-rods
 \once \override BendAfter #'minimum-length = #10
}
fixedMusic =
{
   r16 a a8 a16 a8 \noteFix g16-\bendAfter #-4 \bar "|" a
}
\score
{
   \fixedMusic
}

However, this solution only works if there's a note
after the next bar line. I haven't investigated if there's
any alternative setting that makes the bar line act as
the right end of the fall. Setting to-barline doesn't help.

  /Mats


Kieren MacMillan wrote:
Hi Chip,

How do I resolve this?

When it comes to spacing, I only resort to "spacer notes" in rare circumstances — instead, I prefer to manipulate the X-extent of the objects, to force the space I need. Here's an example in this case:

%%%%%%%%%%%%%
\version "2.12.0"
\include "english.ly"
music =
{
    r16 a a8 a16 a8 g16-\bendAfter #-4 \bar "|"
}
\score
{
    \music
}

noteFix = { \once \override Stem #'X-extent = #'(2 . 10) }
fixedMusic =
{
    r16 a a8 a16 a8 \noteFix g16-\bendAfter #-4 \bar "|"
}
\score
{
    \fixedMusic
}
%%%%%%%%%%%%%

Hope this helps!
Kieren.

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


--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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