[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-devel
Subject:    "\skip 1 * x" doesn't work correct in Lyrics mode (version 2.4.5)
From:       Tjeerd Pinkert <t.j.pinkert () student ! utwente ! nl>
Date:       2005-09-11 0:00:56
Message-ID: Pine.LNX.4.58.0509110118010.6011 () 171-248 ! surfsnel ! dsl ! internl ! net
[Download RAW message or body]

Hello people,

I wanted to skip the lyrics somewhat more than one or two notes in one of
the songs I was doing, and than this would just not go (only one forth note is
skipped from 12 whole). The music is attached for you to look upon this
weird thing. The words "Hij leeft!" in the bottom line should show up at
the points where %%NOTE is entered in the .ly file (or somewhere near
because i inserted 12 bars skip) that is in the part behind the || bar.
But in my case it starts already in the first bar. Also note that the
second skip in between the words is not skipping enough.

For me the solution was just to break up the bassdownRefrein in two parts
and add a lyrics to each part. (the .diff to the new file is added as
well, this might be considdered a tweak, but i would say it's just an
ugly solution)

I think the behaviour of \skip in a Lyrics context should just behave
properly as the manual says it does, so entering "\skip 1 * 12" should
skip 12 whole bars.

I will hear if this is addressed already (in that case i'm sorry to have
bothered you) or if i just made some stupid mistake in the lilypond
source (or maybe it is a difficult thing to address)

Some more data:
lilypond version: 2.4.5
OS: linux (Debian)
debian package version of lilypond: 2.4.5-2

Greetings,

Tjeerd Pinkert



who thinks lilypond is a good thing
["113-joh-de-heer-buggy.ly" (TEXT/PLAIN)]

\version "2.4.5"

\header {
	title="Joh. de Heer 113"
}

global = {
	\key c \major
	\time 4/4
}

trebleChorus = \relative e'{
	<<
		%% een maat per lijn
		{
			\partial 4 g4
			g4. fis8 a g fis g
			e2. g4
			c4. b8 d c b c
			a2. a4
			b4. a8 g4 f
			e2. g4
			g4. fis8 a g fis g
			e2. g4
			c4. b8 d c b c
			a2. a4
			g4. g8 a4 b
			c2. \bar "||" \break
		}
		{
			e,4
			e4. dis8 f e dis e
			c2. e4
			e4. d8 f e g g
			f2. f4
			f4. e8 d4 d
			c2. e4
			e4. dis8 f e dis e
			c2. e4
			e4. d8 f e g g
			f2. f4
			e4. e8 f4 f
			e2.
		}
	>>
}

bassChorus = \relative g {
	<<
		%% een maat per lijn
		{
			\partial 4 c4
			c4. c8 c c c c
			g2. c4
			g4. g8 g g g c
			c2. d4
			d4. c8 b4 b
			g2. c4
			c4. c8 c c c c
			g2. c4
			g4. g8 g g g c
			c2. c4
			c4. e8 d4 d
			c2.
		}
		{
			c,4
			c4. c8 c c c c
			c2. c4
			c4. c8 c c e e
			f2. d4
			g4. g8 g4 g
			c,2. c4
			c4. c8 c c c c
			c2. c4
			c4. c8 c c e e
			f2. f4
			g4. g8 g4 g
			c,2.
		}
	>>
}

trebleRefrein = \relative g' {
	<<
		{
			\partial 4
			g8. \melisma a16 \melismaEnd
			g2. g8. \melisma a16 \melismaEnd
			g2. g4
			c4. c8 b a b8. a16
			g2. g8. \melisma a16 \melismaEnd
			g2. g8. \melisma a16 \melismaEnd
			g2. e'4
			d4. c8 b a b d
			c2. \bar "|."
		}
		{
			e,8. f16
			\skip 1
			\skip 2. e4
			fis4. fis8 fis fis fis8. fis16
			\skip2. e8. f16
			\skip 1
			\skip 2. g4
			f4. f8 f f f f
			e2.
		}
	>>
}

bassupRefrein = \relative g {
	e'4 d d f
	f e e
	\skip 4 \skip 1 * 2
	e4 d d f
	f e e
}

bassdownRefrein = \relative g {
	r4
	r <b g g,> <b g g,> r %%NOTE: Hij leeft! should show up here
	r <c c,> <c c,> <c c,>
	<a d,>4. <a d,>8 <d d,> <c d,> <d d,>8. <c d,>16
	<b g>2. r4
	r <b g g,> <b g g,> r %%NOTE: Hij leeft! should show up here
	r <c c,> <c c,> <c c,>
	<a f>4. <a f>8 <d g,> <c g> <d g,> <b g>
	<b c,>2.

}

coupletEen = \lyricmode {
	\set stanza = "1. "
	Ik weet dat mijn ver -- los -- ser leeft,
	Dit is het, wat mij troost hier geeft,
	Hij leeft, Die voor mij stierf;
	Hij leeft! dit maakt mij al -- tijd blij.
	Hij leeft, mijn Hei -- land, Die voor mij
	Een le -- vens -- kroon ver -- wierf.
}

refreinVrouw = \lyricmode {
	Hij __ leeft!
	Hij __ leeft!
	Ik weet dat mijn ver -- los -- ser leeft.
	Hij __ leeft!
	Hij __ leeft!
	Ik weet dat mijn ver -- los -- ser leeft.
}

refreinMan = \lyricmode {
	Hij leeft!
	Hij leeft!
	\skip 1 * 2
	Hij leeft!
	Hij leeft!
}

\score {
	<<
		\context GrandStaff <<
			\context Staff = up <<
				\clef treble
				\context Voice = trebleVoice {
					\voiceOne \global \trebleChorus \trebleRefrein
				}
				\context Voice = bassupVoice {
					\voiceTwo {\skip 1 * 12 \skip 4} \bassupRefrein
				}
			>>
			\context Lyrics = trebleLyrics { s1 }
			\context Lyrics = bassLyrics { s1 }
			\context Staff = down << 
				\clef bass
				{
					\context Voice = bassVoice {
						\global \bassChorus \bassdownRefrein
					}
				}
			>>
		>>
		\lyricsto "trebleVoice" \context Lyrics = trebleLyrics {
			\coupletEen \refreinVrouw
		}
		\lyricsto "bassVoice" \context Lyrics = bassLyrics {
			\skip 1 * 12 \refreinMan
		}
	>>
	\layout {
		\context { \GrandStaff \accepts "Lyrics" }
		\context { \Lyrics \consists "Bar_engraver" }
	}
	\midi {}
}

["113-joh-de-heer-diff.diff" (TEXT/plain)]

120c120
< bassdownRefrein = \relative g {
---
> bassdownRefreine = \relative g {
122c122
< 	r <b g g,> <b g g,> r %%NOTE: Hij leeft! should show up here
---
> 	r <b g g,> <b g g,> r
126c126,129
< 	r <b g g,> <b g g,> r %%NOTE: Hij leeft! should show up here
---
> }
> 
> bassdownRefreint = \relative g {
> 	r <b g g,> <b g g,> r
155,157d157
< 	\skip 1 * 2
< 	Hij leeft!
< 	Hij leeft!
177,178c177,184
< 					\context Voice = bassVoice {
< 						\global \bassChorus \bassdownRefrein
---
> 					\context Voice = bassCVoice {
> 						\global \bassChorus
> 					}
> 					\context Voice = bassReVoice {
> 						\bassdownRefreine
> 					}
> 					\context Voice = bassRtVoice {
> 						\bassdownRefreint
186,187c192,196
< 		\lyricsto "bassVoice" \context Lyrics = bassLyrics {
< 			\skip 1 * 12 \refreinMan
---
> 		\lyricsto "bassReVoice" \context Lyrics = bassLyrics {
> 			\refreinMan
> 		}
> 		\lyricsto "bassRtVoice" \context Lyrics = bassLyrics {
> 			\refreinMan


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic