bug-lilypond
[Top][All Lists]
Advanced

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

Re: Stanza Numbers


From: Mats Bengtsson
Subject: Re: Stanza Numbers
Date: Thu, 22 May 2003 10:43:22 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030401

You have almost given the solution yourself in an earlier message:

MyLyrics = \lyrics {
  \property LyricsVoice . stz = "1."
\once \property Score . StanzaNumber \override #'break-visibility = all-visible
  First words of the lyrics ...
}

If you skip the \once, the stanza number is printed before each
syllable, not just the first one.

I consider it a bug that LyricsVoice . Stanza is not printed if the
lyrics doesn't start at the absolute top of the piece. The hack
solution given above shouldn't be necessary.

    /Mats

Jan Kohnert wrote:
I have some trouble with the stanza numbers:
If the beginning line of the melody has a partial as first bar, there are displayed stanza numers, but if I don't wan't to use \partial (or just cannot if I have "before-play" (sorry, I don't know the right word) ) there are no stanza numbers displayed. I send two pieces for you to see what I mean. What am I doing wrong and how do I get this numbers even when there is a rest at first? I even tried \property LyricsVoice.stz = "1." but there are the first numbers displayed in the second line and I want them to beprinted in the first.
I use Lilypond-1.6.9

Regards Jan Kohnert


------------------------------------------------------------------------

% Generated automatically by: lilypond-book.py
% options are 
filename=/var/www/lilypond/src/lilypond-1.6.10/input/template/melody-lyrics-chords.ly
 printfilename
\include "paper16.ly"
\paper  {
  linewidth = 433.619940\pt
}
\version "1.5.68"

\header {
  texidoc = "popsong format: chords, melody and lyrics."
}

melody = \notes \relative c' {
\time 4/4
  \key f \major
  \clef treble
  \partial 2.
  f4 f2 | r4 f4 f2 | r4 a4 a2 | r4 g4 a2 | r4 bes4 bes2 | r4 bes4 bes2 | r4 d4 
d2 | r4 c4 d2 | ~ d1 |
}

stropha = \lyrics {
    Your cruel de- vice your blood, like ice
One look, could kill My pain, your thrill... }
 strophb = \lyrics {
    Your cruel de- vice your blood, like ice
    One look, could kill My pain, your thrill...
}

accompaniment = \chords {
}

\score {
  <
    \context ChordNames \accompaniment
    \addlyrics
      \context Staff = one {
        \property Staff.autoBeaming = ##f
        \property Staff.automaticMelismata = ##t
        \melody
      }
      \context Lyrics <
         \context LyricsVoice = "strophe-1" {\property LyricsVoice.stanza = 
"1."  \stropha }
         \context LyricsVoice = "strophe-2" {\property LyricsVoice.stanza = 
"2."  \strophb }
         >
>
  \paper {}
  \midi  { }
}



------------------------------------------------------------------------

% Generated automatically by: lilypond-book.py
% options are 
filename=/var/www/lilypond/src/lilypond-1.6.10/input/template/melody-lyrics-chords.ly
 printfilename
\include "paper16.ly"
\paper  {
  linewidth = 433.619940\pt
}
\version "1.5.68"

\header {
  texidoc = "popsong format: chords, melody and lyrics."
}

melody = \notes \relative c' {
\time 4/4
  \key f \major
  \clef treble
  r4 f4 f2 | r4 f4 f2 | r4 a4 a2 | r4 g4 a2 | r4 bes4 bes2 | r4 bes4 bes2 | r4 
d4 d2 | r4 c4 d2 | ~ d1 |
}

stropha = \lyrics {
    Your cruel de- vice your blood, like ice
One look, could kill My pain, your thrill... }
 strophb = \lyrics {
    Your cruel de- vice your blood, like ice
    One look, could kill My pain, your thrill...
}

accompaniment = \chords {
}

\score {
  <
    \context ChordNames \accompaniment
    \addlyrics
      \context Staff = one {
        \property Staff.autoBeaming = ##f
        \property Staff.automaticMelismata = ##t
        \melody
      }
      \context Lyrics <
         \context LyricsVoice = "strophe-1" {\property LyricsVoice.stanza = 
"1."  \stropha }
         \context LyricsVoice = "strophe-2" {\property LyricsVoice.stanza = 
"2."  \strophb }
         >
>
  \paper {}
  \midi  { }
}



------------------------------------------------------------------------

_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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