Re: engraving question - changing stem direction to avoid levitating slur

2011-02-16 Thread Xavier Scheuer
2011/2/15 Neil Puttock n.putt...@gmail.com:

 You might try adding the Melody_engraver for this: it changes the
 neutral-direction based on the stem directions of surrounding notes
 (but only in the current bar, I think):

Wow, I did not know the existence of this engraver!
It is not mentioned in the doc (except in the Internals), apparently it
is not in the LSR neither.  And I have never seen it in a message on
these lists (and I am a subscriber since a few years).

So thank you, I discovered something today thanks to you.
And it looks interesting.

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: engraving question - changing stem direction to avoid levitating slur

2011-02-15 Thread Janek Warchoł
W dniu 14 lutego 2011 21:17:57 UTC+1 użytkownik Shane Brandes
sh...@grayskies.net napisał:

 Hi Janek,

 I looked through some scores and it does not seem to be out of
 place as is, which was also my initial reaction.

Really?
Well, for me it looks odd.

 I did notice a few
 instance were the slur  lines were engraved crossing through the stems
 when they would have otherwise been too high.

Yes, it seems reasonable to do so in some cases. However, i suppose
doing so would require tweaking slur control points, and that sounds
pretty messy. I'd like to avoid this if possible - after all, i'm
using LilyPond because i want to do as few (and as simple) tweaks as
possible :)

 It is always also possible to have the slur under the staff also.

Do you mean simply using \slurDown? I'd say that the result (attached)
is indeed a little better, but flipping bes quarter note makes it yet
more good-looking.

 Anyway I would not
 change it. unless you find a more excellent reason than that it looks
 a little odd.

Well, for me not :)
Apart from the way to handle that slur, if i do in in my way, what
would you advise me about those stems of bes notes? ('terrae' part)

cheers,
Janek
attachment: slur.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: engraving question - changing stem direction to avoid levitating slur

2011-02-15 Thread Neil Puttock
2011/2/15 Janek Warchoł lemniskata.bernoull...@gmail.com:

 Do you mean simply using \slurDown? I'd say that the result (attached)
 is indeed a little better, but flipping bes quarter note makes it yet
 more good-looking.

You might try adding the Melody_engraver for this: it changes the
neutral-direction based on the stem directions of surrounding notes
(but only in the current bar, I think):

\relative c' {
  \clef treble_8
  \time 3/4
  \autoBeamOff
  r8 a g f g bes |
  a2( bes |
  a4 bes8) r bes4 ~ |
  bes2 bes4 |
  bes2.
  c2.
}

\layout {
  \context {
\Voice
\consists Melody_engraver
\override Stem #'neutral-direction = #'()
  }
}

Cheers,
Neil

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: engraving question - changing stem direction to avoid levitating slur

2011-02-15 Thread Janek Warchoł
2011/2/15 Neil Puttock n.putt...@gmail.com:
 2011/2/15 Janek Warchoł lemniskata.bernoull...@gmail.com:

 Do you mean simply using \slurDown? I'd say that the result (attached)
 is indeed a little better, but flipping bes quarter note makes it yet
 more good-looking.

 You might try adding the Melody_engraver for this: it changes the
 neutral-direction based on the stem directions of surrounding notes
 (but only in the current bar, I think)

Good idea!
It would be great to create a similar engraver that would change the
neutral-direction based on the stem directions of surrounding notes,
but only when doing so will improve the shape of the slur.
Maybe i'll try to do this when i'm finished with the stemflags issue
which i started some time ago.
Speaking of it, would you care to look at transition between
full-length and shortened stems - please discuss thread on -devel and
state your opinion? The discussion got somewhat quiet :(
It requires only spending 5 minutes comparing Lily current behaviour
and two possible fixes. All necessary examples are included.

Thanks!
Janek

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


engraving question - changing stem direction to avoid levitating slur

2011-02-14 Thread Janek Warchoł
Hi,

i have a levitating slur like in the attachment. Fixing slur is easy -
just change the direction of stems of bflat notes under it.
But the question is, should the direction of bflat notes outside the
slur be changed as well (i.e. the ones over terrae)?
What's the common engraving practice?

cheers,
Janek
attachment: stem direction.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: engraving question - changing stem direction to avoid levitating slur

2011-02-14 Thread Shane Brandes
Hi Janek,

   I looked through some scores and it does not seem to be out of
place as is, which was also my initial reaction. I did notice a few
instance were the slur  lines were engraved crossing through the stems
when they would have otherwise been too high. It is always also
possible to have the slur under the staff also. Anyway I would not
change it. unless you find a more excellent reason than that it looks
a little odd.

Shane

2011/2/14 Janek Warchoł lemniskata.bernoull...@gmail.com:
 Hi,

 i have a levitating slur like in the attachment. Fixing slur is easy -
 just change the direction of stems of bflat notes under it.
 But the question is, should the direction of bflat notes outside the
 slur be changed as well (i.e. the ones over terrae)?
 What's the common engraving practice?

 cheers,
 Janek

 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user