lilypond-user
[Top][All Lists]
Advanced

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

volta repeat with and without alternative ending


From: Gergely K.
Subject: volta repeat with and without alternative ending
Date: Wed, 24 Jun 2015 17:47:20 +0200

Hi all!

I am engraving an orchestral score, and ran into the following: one staff has volta repeat with alternative ending, but the other staff has no alternate ending.

When I engrave the score for the conductor, strange thing happens (one staff is shorter, that the other)

I also would like to engrave scores for violin and viola, and those notes are in separate files. Viola part should not be aware of the alternative block in violin IMHO.

So, how should I write this piece to be correct? (online version: http://lilybin.com/mpasgy/4)

\version "2.18.2"
\language "deutsch"

violin = \relative c'' {
    \repeat volta 2 { c4 d e f | }
    \alternative {
      { c2 e | }
      { f2 g | }
    }
    c1
}

viola = \relative c' {
    \repeat volta 2 { c4 d e f |
    c2 c }
    c1
}

\score {
  <<
    \new Staff \violin
    \new Staff { \clef alto \viola }
  >>
  \layout { }
}


+-[ Gergely Kontra <address@hidden> ]------------------+
|                                                           |
| Mobile:(+36 20)356 9656                                   |
|                                                           |
+- "Olyan lángész vagyok, hogy poroltóval kellene járnom!" -+

reply via email to

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