Re: How to get proper barlines, and how to get page breaks, on this score

2016-11-04 Thread David Kastrup
"Mark Stephen Mrotek"  writes:

> McLaren,
>
> Be prepared to be chastised about "minimal snippet!"

"chastised"?  The situation in a forum basically is that of someone
wanting to get something done or solved and involving people in a market
place to explain it to him.  The main problem is to keep people from
averting their eyes and walking on.  And you don't even see it when they
do.  Now somebody tries telling you how to better get people interested
in helping, and you call it "chastising".

The stable end result will be a group of people who are being
belligerent about not getting any help, and others making sure not to
get involved in order not to get ranted at.

Which is not the best use to make of a community.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: How to get proper barlines, and how to get page breaks, on this score

2016-11-03 Thread Mark Stephen Mrotek
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