lilypond-user
[Top][All Lists]
Advanced

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

unfolding repeats


From: Shelagh Manton
Subject: unfolding repeats
Date: Mon, 24 Oct 2005 12:28:50 +1000
User-agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))

I have a vocal score which has three parts soprano, alto and tenor. I
thought the easiest way to tackle it was to write the notes out separately
from the repeats. That worked well for the written score (which I used to
check my work) But the problem comes when I try to unfold the repeats for
the midi score. 

(It may seem a bit odd to do it this way but I wanted the midi parts
separated so our group can learn the separate parts before we try to put
it together. Later I wanted to try to put all the parts together in a midi
so we can sing with "other parts")

Maybe because of the way I've separated the notes from the repeats, it
won't unfold. I've tried unfold instead of volta and unfoldRepeats in a
few different places. I've marked the **!places!** in the snippet that
follows. Can I do this at all? if so, how do I tackle it?

\version "2.7.12"
\include "english.ly"
\header {
title = "No Room"}

global = \relative c' {
\clef treble
\key f \major
\time 4/4
}

sopranoMusic = {\relative c''{ a4 c,2 \times 2/3{ d8 f a} g4 g8 f g2 |
             a4 c,2 \times 2/3 { d8 f a} g4 g8 f g2 |
             c4 a4. r8 \times 2/3 {d8 c a} |
            \slurDown f4(f8)( d) g2 |
                               %first alt
             a4 f2. a4 c2. |
                               %second alt
             a4 f2. ~f4 r2. \bar "||"  
             c'4 a4. c8 \times 2/3 { c b a} | c4 a2. c4 a4. a8\times 2/3 { a b 
a}
             c4 a2. c4 a4. c8 \times 2/3 {c b a} |  c4 a r8 a8 b a |
             e'4 e8 e f8 e e d |  c2~c
                                % 3rd alt
             a4 f2. a4 f2. a4 c2.~ c1 \bar ".|"}
            
          }

dynMusic = { \unfoldRepeats \repeat **!unfold!** volta 3 {s1 s s s s s}
\alternative {{ s s }{s s s s s s s s}{s s s s}}}

\score { **!unfoldRepeats !**
  << \context Staff { <<{\global \sopranoMusic}\\{**!unfoldRepeats!**
  \dynMusic}>>  }
     >>

 \midi {\tempo 4 = 120 }
    }
      
Shelagh





reply via email to

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