lilypond-user
[Top][All Lists]
Advanced

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

Re: merging notes


From: Karl Hammar
Subject: Re: merging notes
Date: Fri, 6 Sep 2013 11:06:26 +0200 (CEST)

Peter Bjuhr:
> On 09/05/2013 10:44 PM, Karl Hammar wrote:
> > http://www.lilypond.org/doc/v2.16/Documentation/notation/multiple-voices#collision-resolution
> >
> > <<
> >    {
> >      c8 d e d c d c4
> >      g'2 fis
> >    } \\ {
> >      c2 c8. b16 c4
> >      e,2 r
> >    } \\ {
> >      \oneVoice
> >      s1
> >      e8 a b c d2
> >    }

> > 1, why is the snippet shown without the surronding \relative c'',
> >     it makes it confusing -- it starts in the wrong octave, doesn't it

> If you click on the image you see the ly-file, and that in fact uses 
> surrounding \relative c''.

Yes, I know.

> But it's assumed in the text.

Hmm, where is that assumption stated?

I can find below "1.1.3 Displaying pitches", "Clef", 2nd sentence
(page 16 in my pdf):

 Middle C is shown in every example. 

Then on p.18, Selected Snippets, absolute entry is used
p.20 Key signature, the fis happens to be fis'' without any explanations
and the example just below works by simple copy-and-paste

This is simply non-obvious and confusing that in some examples one
cannot copy the visibly code and get the shown result.

> > 2, the e,2 in the second voice is hidden by the d8 in the third voice
> >     isn't that a bug ?
> (I think you mean the e8 in the third voice.)

Yes, typo by me.

> I don't think it is a bug, 

In what way isn't it a bug when an e2 looks like an e4.

If I really wanted a half note to look like a quater note I'd use e4*2,
then it is obvious in the code that I do something "unusual".

> but it's contradictory to the text; as it says: "[...] beat 1 in bar 2, 
> where the automatic merging fails.". The merging appears fine!

Yes, and 

  The half note and eighth note at the start of the second measure
  are incorrectly merged because the automatic merge cannot
  successfully complete the merge when three or more notes line up
  in the same note column, and in this case the merged note head is
  incorrect.

after the third example confirms that "failing".

When writing ly-files, such "failings" would be very hard to spot.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57





reply via email to

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