http://lilypond.org/doc/v2.15/Documentation/notation/long-repeats#index-repeat-and-slur

NR 1.4.1, Normal Repeats, Known issues and warnings

"Slurs that span from a \repeat block into an \alternative block will only work for the first alternate ending."

Why don't suggest a workaround?
I know, it's the usual workaround (\hideNotes + grace note), but it may be useful for beginners. It's a bit tricky in polyphonic music, since you must be aware of the grace syncronization problem (it was called this way?).

I'm in a hurry, I have to catch a train.
Find examples attached.

Thanks,
Federico
\version "2.15.40"

music =  \relative c' {
  \voiceOne
  \repeat volta 2 {
    g a b c\glissando (
  }
  \alternative {
    { d1) }
    { \hideNotes \grace{ c8\glissando ( } \unHideNotes e1\2) }
  }
}

\score {
  \new StaffGroup <<
    \new Staff <<
      \context Voice { \clef "G_8" \music }
    >>
    \new TabStaff  <<
      \context TabVoice { \clef "moderntab" \music }
    >>
  >>
}
\version "2.15.40"

first =  \relative c' {
  \repeat volta 2 {
    g a b c\glissando (
  }
  \alternative {
    { d1) }
    { \hideNotes \grace{ c8\glissando ( } \unHideNotes e1\2) }
  }
}

second = \relative c {
  \repeat volta 2 {
    g1
  }
  \alternative {
    { d' }
    { \hideNotes \grace{ s8 } \unHideNotes e, }
  }
}

\score {
  \new StaffGroup <<
    \new Staff = "guitar" <<
      \context Voice = "first voice" { \clef "G_8" \voiceOne  \first }
      \context Voice = "second voice" { \clef "G_8" \voiceTwo  \second }
    >>
    \new TabStaff = "tab" <<
      \context TabVoice = "tab first voice" { \clef "moderntab" \voiceOne \first }
      \context TabVoice = "tab second voice" { \clef "moderntab" \voiceTwo \second }
    >>
  >>
}
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to