lilypond-user
[Top][All Lists]
Advanced

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

Re: "moving backwards in time" ?


From: Gilles
Subject: Re: "moving backwards in time" ?
Date: Thu, 12 Jan 2006 23:36:22 +0100
User-agent: Mutt/1.5.11

> 
> I can't seem to figure out how to slightly change the structure to make
> it work :-{
> 
> I tried with "\addlyrics" but it shows only one line of the "caption"
> instead of one for each transposed part...
> Several "\addlyrics" produce the same problem as "\lyricsto".
> 
> Any hint?
> 

Is this what you had in mind?

%---cut---
\version "2.6.3"

theNotes = \relative c' {
  \key d \aeolian
  \cadenzaOn
  d4 e f g a bes cis d 
  c bes a g f ees d
  \bar "|"
  <d f a>2 <g bes d> <a cis e>
  \bar "||"
  \cadenzaOff
}

text = \lyricmode {
  "1" "2" "3" "4" "5" "6" "7" "8" _ _ _ _ _ _ _ I IV V
  "1" "2" "3" "4" "5" "6" "7" "8" _ _ _ _ _ _ _ I IV V
}

modeOnD = { \theNotes }

theMusic = \context Staff = "Mode" \with { \remove "Time_signature_engraver" } {

  <<
    \context Voice = "notes" {
      \transpose d d { \modeOnD }
      \break
      \transpose d c { \modeOnD }
    }
    \lyricsto "notes" \new Lyrics { \text }
  >>
}

\score {
  \theMusic
  \layout {}
}
%---cut---


It works, but is a real pain because one has to had as many lines of exactly
the same "text" as there are going to be transposed parts.
Furthermore, in the original file setup, the notes (scale) are defined in
one file (together with the "text") and the "\score" in another.
Is ther some way (given the current "limitation" of "\lyricsto") to keep
this separation between "data" and "presentation"?

Thanks,
Gilles




reply via email to

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