lilypond-user
[Top][All Lists]
Advanced

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

\grace in repeat breaks volta spanner?


From: steve
Subject: \grace in repeat breaks volta spanner?
Date: Wed, 15 May 2013 13:57:18 -0400
User-agent: SquirrelMail/1.4.19

  HOwdy!

        I have a problem putting a grace note in a repeat, when there are
two staves
in a system. See this link for a simplified example

http://indra2.web.net/~linuxsui/gooeytar.com/public/lilypond/

http://indra2.web.net/~linuxsui/gooeytar.com/public/lilypond/lily_grace_error.pdf

    This is the error when compiling the source file

GNU LilyPond 2.16.2
Processing `lily_grace_error.ly'
Parsing...
Interpreting music...
warning: already have a volta spanner, ending that one prematurely
[8][8]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `lily_grace_error.ps'...
Converting to `./lily_grace_error.pdf'...
Success: compilation successfully completed


      Works if there is just one stave. Is there a fix for this?

       This is the lilypond code that the above was created from

\version "2.16.2"

global = {
  \time 3/4
  \clef "G_8"
  \key g \minor
}

guitarone = \relative c {

        \repeat volta 2 { cis2. | }
        \alternative {
            { cis4 r r }
            { cis4 r r }
    }

        \repeat volta 2 { fis2. | }
        \alternative {
            { \grace fis16  g2. |}
            { g2. |}
    }
}

guitarthree = \relative c'  {

        \repeat volta 2 { a2. | }
        \alternative {
            { d2. | }
            { d2. | }
        }

        \repeat volta 2 { d2. | }
        \alternative {
            { g2. |}
            { g2. \bar "|." |}
        }
}

\score {

        \new StaffGroup {
        <<
            \new Staff << \global \guitarone >>
            \new Staff << \global \guitarthree >>
        >>
        }

        \layout { }
}


          Ideas?

         thanx - steve






reply via email to

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