lilypond-user
[Top][All Lists]
Advanced

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

Re: Variables: multiple use with multiple stanza


From: Michael Gerdau
Subject: Re: Variables: multiple use with multiple stanza
Date: Sat, 17 Oct 2015 00:23:40 +0200
User-agent: KMail/4.14.10 (Linux/4.2.3-1-ARCH; KDE/4.14.13; x86_64; ; )

> I engrave ancient russian church music in original notation (by
> \lyricmode) and common score. This is single-voice music: one score + one
> string of ancient notation ( + one string of words). But SOMETIMES there
> is TWO strings of ancient notation under 1-2-3 notes. There I use
> construction with \new Voise inside my music and \lyricsto this voice
> (new and context). In case of multiple use of some music I use variables.
> The problem is: if variable containes  \new voice = ... { ... } I can use
> this voice only once. Secon use has no lyrics to this voice.
> What's wrong?
> 
> Sample:

\version stmt missing...

> kulism = \relative c'  { e4( f) g( f) e( f e d)  \new Voice = "cdcb" { c(
> d c b) } a1 }
> slov = \lyricmode {  mifa solfa mifamire  laaaa  }
> \score
>   {
>   <<
>     \new Staff       <<   \new Voice = "one" { \relative c'  \kulism
> \kulism \kulism     }    >>
>     \new Lyrics = "drob" \lyricsto "cdcb"    {  "malozakr" }
> 
>     \new Lyrics = "kr"  \lyricsto "one"   { \slov  \slov  \slov  }
>     \context Lyrics = "kr"  \lyricsto "cdcb" { doredosi }
> 
> 
>   }

I would just write a plain simple melody and whereever you need
additional lyrics just add another line of lyrics, like here

\version "2.19.28"

kulism = \relative {
  e'4( f) g( f) e( f e d) c( d c b) a1
}
slov = \lyricmode { mifa solfa mifamire doredosi laaaa  }
slovtwo = \lyricmode { \skip 4 \skip 4 \skip 4 malozakr \skip 4 }
\score {
  <<
    \new Staff <<
      \new Voice = "one" { \kulism \kulism \kulism }
    >>
    \new Lyrics = "drob" \lyricsto "one" { \slovtwo \slovtwo \slovtwo }
    \new Lyrics = "kr"  \lyricsto "one"  { \slov \slov \slov }
  >>
}

HTH,
Michael
-- 
 Michael Gerdau       email: address@hidden
 GPG-keys available on request or at public keyserver

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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