Hi Nick,
You use two voices in your example.
In the second bar you only print the b-natural once.
But in the second voice you print the b-natural twice:
Jon
Thanks for the reply. However, I just removed the natural from the 2nd b in
bar 2 and I still get a natural appearing in the output on both b.
Bar 3 also contains two b naturals, so I added that bar with a natural only
on the 1st b and only get one in the output.
I've attached ly source and the PDF output I get from the 2.11.58 I
downloaded yesterday. Running WinXP.
Nick
-----Original Message-----
From: Jonathan Kulp [mailto:address@hidden]
Sent: Tuesday, 16 September 2008 21:23
To: Nick Payne
Cc: address@hidden
Subject: Re: Two questions about fingering indications
Hi Nick,
I don't have time to investigate the fingerings at the moment, but I can
tell you quickly that the natural on the second b is there because you
specified it with the !. Any time you put the ! it forces lilypond to
show an accidental. Just take it out and you'll solve that problem.
Lilypond knows that a "b" is a b-natural so you only need the ! if you
want to use it as a courtesy to the performers or to show that you
really want the natural even though, for example, there might be a
b-flat in the other voice.
I'll check the fingering problem when I have some time later today. Best,
Jon
Nick Payne wrote:
> I have the following code (it's the first couple of measures of Barrios'
> prelude in C minor). Firstly, with the RH fingering, some of the
indications
> appear above the beam and some below, depending on where on the stave each
> note is located. How can I get them to all be above the beam? Secondly,
with
> the LH fingering, I can only get the orientation to the left of the
notehead
> to stick by enclosing every note with a fingering indication inside chord
> symbols, otherwise the fingering appears above the stems. How do I get the
> fingering orientation to default to being to the left of the notehead for
> notes that are not chorded?
>
> Also, Lilypond puts a natural symbol against both b naturals in bar 2,
when
> only the first symbol is required.
>
> \version "2.11.58"
> % Treble voice
> #(define RH rightHandFinger)
> up = \relative c' {
> \set fingeringOrientations = #'(left)
> \set strokeFingerOrientations = #'(up)
> \set tupletSpannerDuration = #(ly:make-moment 1 4)
> \times 4/6 {
> \override Fingering #'staff-padding = #'()
> <c-1-\RH #1 >16 <g'-0-\RH #2 > <aes'-4-\RH #4 >-> <ees-3-\RH
> #3 > <g-2-\RH #4 >-> <g,-0-\RH #2 > c, g' aes'-> ees g-> g, |
> <b,!-1> <g'-0> <aes'-4>-> <d,-3> <g-2>-> <g,-0> b,! g'
> aes'-> d, g-> g, |
> }
> }
>
> % Bass voice
> down = \relative c' {
> c4 c | % 1
> b! b! | % 2
> }
>
> \score {
> {
> \clef treble
> \key c \minor
> \time 2/4
> \tempo "Moderato"
> \override Staff.NoteCollision #'merge-differently-headed =
> ##t
> \context Staff << \new Voice { \voiceOne \up }
> \new Voice { \voiceTwo \down } >>
> }
> \layout { }
> \midi { }
> }
>
> Nick
>
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
--
Jonathan Kulp
http://www.jonathankulp.com
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.169 / Virus Database: 270.6.21/1673 - Release Date: 15/09/2008
18:49