lilypond-user
[Top][All Lists]
Advanced

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

chord names in alternate endings with upbeats


From: Patrick Schmidt
Subject: chord names in alternate endings with upbeats
Date: Fri, 12 Feb 2010 21:57:06 +0100

Hi all,

I'm having problems to typeset chord names in alternate endings. Or to be 
precise: one chord name is not displayed in the alternative ending of my 
example. (I already tried to use the \partial\repeat\alternative-commands 
within \chordmode{} but to no avail.) Can anybody spot my mistake?

Thanks a lot for any hint!
patrick

VerseStructure = {
  \partial 4 s4
  s4 s4 s8
}

ChorusStructure = {
  \repeat volta 2 {
    \partial 4. s4.
    s1 
  }
  \alternative {
    { \partial 8*5 s4 s4 s8 }
    { s2. }
  }
  \bar "|."
}

VerseChords = \chordmode {
  s4 
  c8*5 
}

ChorusChords = \chordmode {
  c4.:7
  f1
  c8*5
  c2.
}

VerseVocals = {
  g4
  c,4 r4 r8
}

ChorusVocals = {
  c'8 c8 a8
  c1
  c4( a4) c8
  c,2 r4
}

\score {
  <<  
    \new ChordNames {
    \set chordChanges = ##t
      \VerseChords
      \ChorusChords
    }
      
    \new Staff = "StaffVocals" <<
      \new Voice = "SongStructure" {
        \VerseStructure
        \ChorusStructure
      }
        
      \new Voice = "Vocals" {
        \relative c'' {
          \VerseVocals
          \ChorusVocals
        }
      }
    >>
  >>
}
-- 
NEU: Mit GMX DSL über 1000,- ¿ sparen!
http://portal.gmx.net/de/go/dsl02




reply via email to

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