lilypond-user
[Top][All Lists]
Advanced

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

Re: Tie across voices


From: Lukas-Fabian Moser
Subject: Re: Tie across voices
Date: Thu, 3 May 2018 18:43:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

Hi David,

Am 03.05.2018 um 18:29 schrieb David Sumbler:
\version "2.19.81"

\new Staff {
   \time 6/8
   <<
     { \once \override MultiMeasureRest.staff-position = #10
       R2. | r4. e'''~ }
     \\
     { g''2.~ | g''~ }
   >>
  \oneVoice <e''' g''>2.~ | q |
}


One possibility would be:

\version "2.19.81"

\new Staff {
  \time 6/8
  <<
    { \once \override MultiMeasureRest.staff-position = #10
      R2. | r4. e'''~ \hideNotes e'''2. }
    \\
    { g''2.~ | g''~
      \oneVoice <e''' g''>2.~ | q |
    }
  >>
}

If you don't want to continue inside a << \\ >> construct, try

\version "2.19.81"

\new Staff {
  \time 6/8
  <<
    {
      \voiceTwo g''2.~ | g''~
    }
    \new Voice {
      \voiceOne \once \override MultiMeasureRest.staff-position = #10
      R2. | r4. e'''~ \hideNotes e'''2.*0
    }
  >>
  \oneVoice <e''' g''>2.~ | q |
}

Explanation: << { } \\ { } >> is a shorthand which creates two new (named) voices. Just taking << { } \new Voice { } >> makes sure the first { } pair creates music in the "main" voice which is active outside the << >>.

Best
Lukas



reply via email to

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