lilypond-user
[Top][All Lists]
Advanced

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

Re: Two voices, only one note


From: Neil Puttock
Subject: Re: Two voices, only one note
Date: Tue, 6 May 2008 22:30:33 +0100

2008/5/6 Neil Puttock <address@hidden>:
> Hi Alberto,
>
>  2008/5/6 Alberto Simões <address@hidden>:
>
>
>  >  Sorry to bother a little more.
>  >  Any hint on why it doesn't work on this case?
>  >
>  >
>  >  << { \override Staff.NoteCollision #'merge-differently-headed = ##t
>  >      \override Staff.NoteCollision #'merge-differently-dotted = ##t
>  >      f4 f' f } \\ { f,2. } >>
>
>  LilyPond won't merge crotchets and minims because it makes them look
>  the same. In your example, if a merge were allowed, your dotted minim
>  would look just like a dotted crotchet.
>
>  I assume you want the dotted note to remain a minim; if so, the trick
>  is to scale the duration of the crotchet so it appears to be a minim:
>
>
>  << { \override Staff.NoteCollision #'merge-differently-headed = ##t
>     \override Staff.NoteCollision #'merge-differently-dotted = ##t
>       f2*1/2 f' f } \\ { f,2. } >>
>
>  Regards,
>  Neil
>

Oops, I forgot to reset the duration; here's the correct snippet. :)

 << { \override Staff.NoteCollision #'merge-differently-headed = ##t
   \override Staff.NoteCollision #'merge-differently-dotted = ##t
     f2*1/2 f'4 f } \\ { f,2. } >>




reply via email to

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