Hi all,

I'm having an issue where a short alternate ending on a piece results
in the last staff being a bit short. I have not encountered this with
other music, and when trying to put together a shorter minimal working
example couldn't reproduce the problem. The song in question, however,
is public domain (``Breakin' Up Christmas") so I've attached the
original file (it's also available online [1] just in case this list
doesn't accept attachments).

I tried manually setting the measure length; but that doesn't seem to
have fixed the problem. Any ideas? I'm using LP 2.17.97.

Thanks,
Sam

[1]: https://gist.github.com/SamWhited/a18a2c343847509c76f2



-- 
Sam Whited
pub 4096R/EC2C9934
https://samwhited.com/contact
\version "2.17.97"

song = {
	\partial 4 e4 ~
	\repeat volta 2 {
		e8 fis e d cis a cis d | e fis e cis a4 cis8 d | |e fis e d cis4 cis8 a | b
		a b cis a4 cis8 d | e fis e d cis4 cis8 d | e4 e8 cis a4 gis' | a8 b a fis e
		d cis d
	}
	\alternative {
		{ e cis b cis a4 e'\laissezVibrer }
		{ e8\repeatTie cis b cis a4 e }
	}

	\break\bar ".|:-||"

	\repeat volta 2 {
		fis8 e fis gis a4 cis8 a | b a a a fis e e e | fis e fis gis a4 cis8 a | b a
		gis e a4 e | fis8 e fis gis a4 cis8 a | b a a a fis e e e | fis e fis gis a4
		cis8 b
	}
	\alternative {
		{ cis a gis e a4 e }
		{
			\set Timing.measureLength = #(ly:make-moment 3/4)
			b'8 a gis e a4
		}
	}

	\bar "|."
}

harmonies = \chordmode {
	r4 a1 a a e a a a e2 a e a a1 a a e2 a a1 a a e2 a e a
}

\score {
	<<
		\new ChordNames {
			\set chordChanges = ##t
			\set noChordSymbol = ##f
			\harmonies
		}
		\new Staff = "melody" {
			\relative c'' {
				\clef treble
				\key a \major
				\time 4/4

				\song
			}
		}
	>>
	\layout {}
	\midi {
		\context {
			\Score
			tempoWholesPerMinute = #(ly:make-moment 50 2)
		}
	}
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to