McLaren,
Be prepared to be chastised about "minimal snippet!"
Mark
-Original Message-
From: lilypond-user
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
mclaren
Sent: Thursday, November 03, 2016 8:57 PM
To: lilypond-user@gnu.org
Subject: How to get proper barlines, and how to get page breaks, on this
score
This score is a transcription of a rhythm I generated in Jens Johansen's
wonderful polyrthmic application Polymath. It's a pretty catchy rhythm.
But Lilypond has trouble handling it.
The barlines are obvious from the score, since this is nothing but a bunch
of hypermeasures. Notice that in each pair of staves (staff 1 & 2, staff 3 &
4, staff 5 & 6), the broken tuplets are offset so that the barlines are
well-formed for each hypermeasure and the point at which they occur is
pretty clear from the score.
My problem? I can't figure out make-moment values that will cause barlines
to get placed properly.
Then there's the additional problem of forcing a page break. The most
logical solution to getting a page break, namely, using a time signature
large enough to account for all the broken tuplets, would produce a time
signature so large that it crashes Lilypond. So that solution is out. Jens
Johansen's Polymath doesn't care about page breaks or barlines, so it has no
problem with rhythms like this. But Lilypond is based on traditional
notation, which has lots of trouble with these kinds of rhythms.
Any suggestions?
\version "2.18.2"
\header {
tagline = "" % removed
}
#(set-default-paper-size "a4" 'landscape)
\layout{
indent=0
}
\relative c''
{
<<
\new Staff { \clef "treble"
{
\cadenzaOn
\override Staff.TimeSignature #'stencil = ##f
{ c4 c4 b4 }
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 9/11 { c4 c4 d4 }
\override Staff.TimeSignature #'stencil = ##f
{ c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 5/6 { b4 c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
{ d4 c4 c4 }
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 11/9 { b4 c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
{ c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 5/6 { c4 c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
{ c4 c4 c4 }
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 5/6 { c4 c4 c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
{ c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 5/6 { c4 c4 c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
{ c4 c4 c4 }
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 5/6 { c4 c4 c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
{ c4 c4 c4}
\override Staff.TimeSignature #'stencil = ##f
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 5/6 { c4 c4 c4 c4 }
\cadenzaOn
\override Staff.TimeSignature #'stencil = ##f
{ c4 c4 c4 }
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 5/6 { c4 c4 c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
{ c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 5/6 { c4 c4 c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
{ c4 c4 c4 }
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 5/6 { c4 c4 c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
{ c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 5/6 { c4 c4 c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
{ c4 c4 c4 }
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 5/6 { c4 c4 c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
{ c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 5/6 { c4 c4 c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
{ c4 c4 c4 }
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 5/6 { c4 c4 c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
{ c4 c4 c4}
\override Staff.TimeSignature #'stencil = ##f
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 5/6 { c4 c4 c4 c4 }
}
}
\new Staff { \clef "treble"
\cadenzaOn
\relative c'' {
\cadenzaOn
\override Staff.TimeSignature #'stencil = ##f
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
\times 5/6 { b4 c4 c4 }
\override Staff.TimeSignature #'stencil = ##f
{d4 c4 }
\override Staff.TimeSignature #'stencil = ##f