lilypond-user
[Top][All Lists]
Advanced

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

Re: Adjusting slurs and brackets


From: Heimdall Midgard
Subject: Re: Adjusting slurs and brackets
Date: Tue, 20 Dec 2005 05:07:25 +0800

2005/12/19, Mats Bengtsson <address@hidden>:
>
> Heimdall Midgard wrote:
>
> >2005/12/19, Gilles <address@hidden>:
> >
> > > >So, could someone please give me a code snippet on
> > > >how to raise or lower the vertical placement of a
> > > >slur relative to the notes (or if possible, relative
> > > >to the fingering, which it collides with).
> > > >
> > >You can try playing with:
> > >
> > >  \override Score.Slur #'height-limit = #4.5
> > >
> > >or/and
> > >
> > >  \override Script #'padding = #1.5
> > >
> >Neither appears to work, at least the way I used it in
> >the following code fragment (I hope I didn't omit
> >anything essential). I used deliberately small and large
> >values to exagerrate any side-effect the overrides might
> >have (none).
> >
> >upper = \relative c' {
> >  \time 4/4
> >  \key c \major
> >  \clef treble
> >  \override Score.SeparationItem #'padding = #1.0
> >  \override Score.Slur #'height-limit = #-20
> >  \override Script #'padding = #100.5
> >  \phrasingSlurUp
> >  c4-1\( d-2 e-3 f-4
> >  g4-5 e4-3 c2-1\)
> >
> Since you use phrasing slurs instead of ordinary slurs,
> you have to use
>
> \override Score.PhrasingSlur #'height-limit = ...

This has an effect, but not exactly the one I want in the
above case. Large values (+10) increase the curve. What I
want is to flatten the curve and raise its two end
points. As it is, with #'height-limit = #50, I get a
dome-like curve that extends all the way down to the
notehead (the two C's one line below the treble staff).

The curve of the phrasing slur practically disappears with
#'height-limit = #0 (it becomes nearly flat). But I see no
difference in slope between #'height-limit = #1 and
#'height-limit = #4.

Is there a way to arbitrarily raise the end points of the
curve as well?

> Similarly, to control a fingering, you should set the
> property on the Fingering object, not on the Script
> object:
>
> \override Fingering #'padding = #10.0

This works and could be a way of solving the collision
problem. However, a flatter curve would enable me to raise
or lower the fingering numbers uniformly rather than attempt
to achieve a fancy staircase effect to dodge the curve
(ASCII graphic):

    3 4 5
  2       3
1           1

--
Albert Einstein: Phantasie ist wichtiger als Wissen, denn
Wissen ist begrenzt.




reply via email to

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