lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyric and Stanza collision


From: Fred Leason
Subject: Re: Lyric and Stanza collision
Date: Mon, 5 Feb 2007 12:46:17 -0600

Mats:

I removed set stanza and used rehearsal marks instead. Here is an example:

BEFORE:
allWords = \lyricmode
        {
\set stanza = "1" \once \override LyricText #'self-alignment-X = #LEFT \markup{\raise #2.0 \dynamic f The LORD is King; let the} people tremble;* \once \override LyricText #'self-alignment-X = #LEFT \markup {\raise #2.0 \dynamic mf he is enthroned upon the cherubim;❜} \markup{\raise #2.0 \dynamic ff let} thē earth shake.
...
                                
AFTER:
allWords = \lyricmode
        {
\once \override LyricText #'self-alignment-X = #LEFT \markup{\box 1 \raise #2.0 \dynamic f The LORD is King; let the} people tremble;* \once \override LyricText #'self-alignment-X = #LEFT \markup{ \raise #2.0 \dynamic mf he is enthroned upon the cherubim;❜} \markup{\raise #2.0 \dynamic ff let} thē earth shake.
...

This seemed to address the lyric overlap. SO YOU FIXED MY PROBLEM. Thanks.

However, the box and dynamic align with the first note of the reciting tone. Can you suggest a way to get the reciting tone to align with the first word of the text? I tried making a separate "word" with the box and dynamic in it and inserting a leading s4 or \skip 4 in the music. But a leading skip in the music only seems to register when it is associated with a fatText command. I am open to any suggestions.

On Feb 5, 2007, at 4:07 AM, Mats Bengtsson wrote:

Why not use reheasal marks, see the section on "Rehearsal marks" for more
details. As you can see there, you can even get automatic numbering.

It might also be possible to make the stanza number allocate space so it doesn't collide with the preceding lyrics, but I don't know how to do that.
Yet another alternative is to insert something like

\once \override Score.SeparationItem #'padding = #1


before each new verse to get some extra space. See the section on
"Horizontal spacing overview" for more info.

  /Mats

Fred Leason wrote:
I am using lilypond to write out and point anglican chant for each Sunday's Psalm setting. This fragment has two Psalm verses but typically we sing six to 12 verses in various A B patterns. I want to enter the music once and then repeat it for as many verses as we need. I borrowed the "divisio*" from gregorian-init.ly. I include the \set stanza command so we know when to restart during rehearsal.

Whenever the "cadence" or ending phrase of the chant involves more than one or two words, the lyrics text overlaps the subsequent stanza label. Is there a way to override this, or can you suggest an alternative method of marking the lyrics for rehearsal without marking the music? I have attached a fragment png file showing the overlap.

lilypond code:

\version "2.11.13"

divisioMinima = {
\once \override BreathingSign #'stencil = #ly:breathing- sign::divisio-minima

% Workaround: add padding. Correct fix would be spacing engine handle this.
  \once \override BreathingSign  #'extra-X-extent = #'(-1.0 . 0)

  \breathe
}
divisioMaior = {
\once \override BreathingSign #'stencil = #ly:breathing- sign::divisio-maior
  \once \override BreathingSign  #'Y-offset = #0

% Workaround: add padding. Correct fix would be spacing engine handle this.
  \once \override BreathingSign  #'extra-X-extent = #'(-1.0 . 0)

  \breathe
}
divisioMaxima = {
\once \override BreathingSign #'stencil = #ly:breathing- sign::divisio-maxima
  \once \override BreathingSign  #'Y-offset = #0

% Workaround: add padding. Correct fix would be spacing engine handle this.
  \once \override BreathingSign  #'extra-X-extent = #'(-1.0 . 0)

  \breathe
}
finalis = {
\once \override BreathingSign #'stencil = #ly:breathing- sign::finalis
  \once \override BreathingSign  #'Y-offset = #0

% Workaround: add padding. Correct fix would be spacing engine handle this.
  \once \override BreathingSign  #'extra-X-extent = #'(-1.0 . 0)

  \breathe
}
#(set-default-paper-size "letter" )

global = {
    \key c \major
    \set Staff.whichBar = ""
    \set Score.timing = ##f
\override Score.RehearsalMark #'break-visibility = #begin-of- line-invisible
    \override Score.PaperColumn #'keep-inside-line = ##t
}

trebMusicA = {
        \fatText s4_"A" \noBreak
        <e' c'>2 <g' d'>4
        \divisioMinima
        <b d'>2 <e' cis'>4
        \divisioMaxima
    }

trebMusicB = {
        \fatText s4_"B" \noBreak
        <g' e'>2 <c'' f'>4
        \divisioMinima
        <e' b>2 <g' e' b>4
\finalis \once \override Score.RehearsalMark #'self- alignment-X = #right \mark "REFRAIN "
    }

bassMusicA = {
        s4 <a f>2  <a c>4
        \divisioMinima
        <f a,>2 <a a,>4
        \divisioMaxima
    }              bassMusicB = {
        s4 <b c>2  <a d>4
        \divisioMinima
        <f g,>2 <g c>4
        \finalis
    }          allWords = \lyricmode
    {
\set stanza = "8. " \once \override LyricText #'self-alignment- X = #LEFT "I will listen to what the LORD God is" saying,* \once \override LyricText #'self-alignment- X = #LEFT "for he is speaking peace to his faithful people❜ and to those who turn their" \once \override LyricText #'self- alignment-X = #LEFT "hearts to him." \set stanza = "9. " \once \override LyricText #'self-alignment- X = #LEFT "Truly, his salvation is very near to those who" \once \override LyricText #'self-alignment-X = #LEFT "fear him,*" \once \override LyricText #'self-alignment- X = #LEFT "that his glory may dwell in our" land.
}


\score {

        \context ChoirStaff <<
           \context Staff = women <<

                \context Voice =
                women { \oneVoice \global
                    \trebMusicA
                    \trebMusicB
                }
           >>
            \context Lyrics = women \lyricsto women \allWords
            \context Staff = men <<
            \clef bass
            \context Voice =
                basses { \oneVoice \global
                    \bassMusicA
                    \bassMusicB
                }
           >>
        >>

    \layout {
        indent=0\in
        line-width=8\in
        %indent = 0.0
        packed = ##f
        ragged-right = ##t
        ragged-last = ##t
        barAlways = ##t

        \context {
            \Staff
                \remove "Time_signature_engraver"
                \override Stem #'transparent = ##t
            }
        \context {
            \Voice
                \override Stem #'length = #0
            }
        }
}

end lilypond code

collision illustration:


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


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

_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.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]