[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Lilypond page breaks work properly for non-binary meters like 7/5...
From: |
mclaren |
Subject: |
Lilypond page breaks work properly for non-binary meters like 7/5... |
Date: |
Thu, 3 Nov 2016 17:44:18 -0700 (MST) |
..But apparently Lilypond page breaks don't work at all for an irrational
meter like 7/sqr(71). I'm baffled. Why do page breaks work for 7/5 but not
for 7/sqr(71)? The basic metric pulse is non-binary in both cases, so why
should it make any difference whether the basic metric pulse is 5 equal
divisions of a whole note, or sqr(71) divisions of a whole note?
Anyway, here's my Lilypond code for a polymetric score with 7/5 playing
against various other pedestrian polymeters. The page breaks work as
expected.
\version "2.18.2"
\header {
tagline = "" % removed
}
#(set-default-paper-size "a4" 'landscape)
\layout {
indent=0
% Create time signature context
% Source: http://lsr.di.unimi.it/LSR/Snippet?id=272
% (modified)
\context {
\type Engraver_group
% Add elements that _can_ be printed
\consists "Timing_translator"
\consists "Time_signature_engraver"
\consists "Axis_group_engraver"
\name "TimeLine"
\alias "Staff"
% Align time signatures on barlines
\override TimeSignature.X-offset =
#ly:self-alignment-interface::x-aligned-on-self
\override TimeSignature.self-alignment-X = #CENTER
}
\context {
\Score
\accepts "TimeLine"
\remove "Timing_translator"
\remove "Default_bar_line_engraver"
\override TupletNumber.text = #tuplet-number::calc-fraction-text
}
\context {
\Staff
\consists "Timing_translator"
\consists "Default_bar_line_engraver"
\consists "Time_signature_engraver"
}
}
{
<<
\new TimeLine {
\time 7/5
}
\new Staff { \clef "treble"
\relative c''
{
\time 7/5
\override Staff.TimeSignature #'stencil = ##f
\scaleDurations 8/5 {
{ c8[ d f e b c d16 f] | e8[ b c d16 f e8 b c16 d] }
{ f8 } }
\bar"" \break
{e8 b c d f e b16 c d8 f e b16 c d8 f e16 b c8 d f e b c d f16 e b8 c d
f16 e b8 c d16 f e8 b c d f e b }
}
}
\new TimeLine {
\time 13/8
}
\new Staff { \clef "treble"
\relative c''
{
\override Staff.TimeSignature #'stencil = ##f
\scaleDurations 8/13 { c8[ d f e b c d16 f e8 b c d16 f e8 b] c16 d f8 e b
c d f e b16 c d8 f e b16 c d8 f e16 b c8 d f e b c d f16 e b8 c }
\bar"|" \break { d f16 e b8 c d16 f e8 b c d f e b }
}
}
\new TimeLine {
\time 9/8
}
\new Staff { \clef "treble"
\relative c''
{
\override Staff.TimeSignature #'stencil = ##f
\scaleDurations 8/9 { c8[ d f] e[ b c] d16[ f e8 b] c[ d16 f e8] b[ c16 d
f8] e[ b c] d f e b16 c d8 f e b16 c d8 }
\bar"|" \break { f e16 b c8 d f e b c d f16 e b8 c d f16 e b8 c d16 f e8 b
c d f e b }
}
}
\new TimeLine {
\time 11/8
}
\new Staff { \clef "treble"
\relative c''
{
\override Staff.TimeSignature #'stencil = ##f
\scaleDurations 8/11 { e8 b c d16 f e8 b c d16 f e8 b c16 d f8 e b c d f e
b16 c d8 f e b16 c d8 f e16 b c8 d f e b c d } \bar"|" \pageBreak { f16 e b8
c d f16 e b8 c d16 f e8 b c d f e b c16 d f8 }
}
}
>>
}
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Lilypond-page-breaks-work-properly-for-non-binary-meters-like-7-5-tp196100.html
Sent from the User mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Lilypond page breaks work properly for non-binary meters like 7/5...,
mclaren <=