lilypond-user
[Top][All Lists]
Advanced

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

Re: quetion about slur in the "<< .... \\ .....>>"


From: Thomas Morley
Subject: Re: quetion about slur in the "<< .... \\ .....>>"
Date: Tue, 30 Jan 2018 10:56:09 +0100

2018-01-30 9:01 GMT+01:00 mosea chen <address@hidden>:
>
> Hi,
>     I found it difficult to engrave the staff as the fingure:
>
>
> the "slur" just does not work.
> The source is as follows:
>
> \version "2.19.80"
> {
>     \clef bass
>     \time 3/4
>
>     fis-2 ( e-1 d-2 |
>     <<
>         { r4 ) e4 a8 ( g8  | }
>         \\
>         { a,2. |  }
>     >>
>     fis4 ) r4 r4
> }


<< ... \\ ... >>
is equivalent to
<<
  \context Voice = "1" { \voiceOne ... }
  \context Voice = "2" { \voiceTwo ... }
>>

The exercise is to distribute stuff to Voices properly,
starting/ending Slurs in the same Voice.

One possibility

\version "2.19.80"

\context Voice {
  \clef bass
  \time 3/4

  \context Voice = "2" { fis4-2( e-1 d-2 }
  <<
    { r4 e4 a8( g8 \oneVoice }
    \\
    { a,2.) }
  >>
  \context Voice = "1" fis4)
  \context Voice
  r4
  r4
}

Cheers,
  Harm



reply via email to

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