lilypond-user
[Top][All Lists]
Advanced

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

Re: Ties across voices


From: Simon Albrecht
Subject: Re: Ties across voices
Date: Mon, 12 Dec 2016 13:45:08 +0100

On 11.12.2016 19:01, Peter Toye wrote:
Ties across voices I want to engrave some piano music which includes the attached fragment. As I understand it I need a single voice for the first chord, but two for the second. But the ties can't extend across voices.

This is exactly the situation for which \hideNotes exists. The following works perfectly:

\version "2.18.2"
\language "english"
\score {
  <<
    \clef "treble"
    {
      \oneVoice
      <a' c'' f''^~ a''~>4
      \voiceOne
      <f'' a''>8[ <c'' f''> a'' g'']
    }
    \\
    {
      \voiceTwo
      \hideNotes
      \override NoteColumn.ignore-collision = ##t
      <a' c''>4 _~
      \unHideNotes
      \override NoteColumn.ignore-collision = ##f
      <a' c''> <g' d''>
    }
  >>
}

Best, Simon



reply via email to

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