lilypond-user
[Top][All Lists]
Advanced

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

Strange behaviour


From: Don Gingrich
Subject: Strange behaviour
Date: Mon, 13 Nov 2017 17:58:42 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

What I want is to effectively have two voices  in the second bar -- The
first time through fits the d4 r4 r4 e8 e tune and the second uses d4 (
a8) a4 d4 e8 e

I'm copying a sheet that used diminished size notes for the alternate,
so I figured, "OK, use grace notes...." But for some reason that I don't
understand, the a4 generates both a small note _and_ a full size one --
the "curlys" around the a4 d4 were my attempt to force my will --  but
Lilypond politely ignored them.

melody = \relative c' {
  \clef treble
  \key d \major
  \time 2/2
  \repeat volta 2 {
    d2 \slurDashed d4 ( d)             |
    d4 ( \grace a8 ) \grace{ a4 d4} r4 r4 e8 e
  }
    \bar "|."
 
}


I had tried voices previously, but found the explanations in the
documentation insufficient -- the attempt simply barfed or refused
generate what I expected.

I'm using dashed slurs since it makes more sense if I need to ignore
them in a subsequent verse.


Cheers,


-Don


It would be good to understand how to insert an occasional bar with an
alternate voice -- much vocal music uses a consistent chord progression
and accompaniment -- but varies the melody to fit the lyric.




reply via email to

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