On Tue 29 Jun 2010, 08:43 Nick Payne wrote:
> I have a guitar piece in two voices in which I'm using
> \mergeDifferentlyHeadedOn in the \score section to merge the same
> notes in the two voices. However, there are a couple of places where
> I want the same note played on two different strings and therefore
> don't want the notes merged. I tried using
>
> \once \override Staff.NoteCollision #'merge-differently-headed = ##f
>
> before the relevant notes in both voices, but those notes are still
> getting merged. Is it possible to override the
> \mergeDifferentlyHeadedOn for individual notes? In the example
> below, how can I prevent the first note in each voice from being
> merged?
You can use
\once \override NoteColumn #'force-hshift = #1
for one note in one voice, can't you?
> %============================================
> \version "2.13.26"
>
> \relative c'' {
> \new Staff <<
> \new Voice = "first"
> { \voiceOne \once \override Staff.NoteCollision
> #'merge-differently-headed = ##f b8 b b b b b b b }
> \new Voice= "second"
> { \voiceTwo \once \override Staff.NoteCollision
> #'merge-differently-headed = ##f b8 b b b b b b b }
> >>
> }
> %============================================
>
>
> Nick
--
Dmytro O. Redchuk
Bug Squad
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user