[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
making all grobs breakable (for easier polymetric scores)
From: |
Kieren MacMillan |
Subject: |
making all grobs breakable (for easier polymetric scores) |
Date: |
Fri, 4 Aug 2017 13:33:28 -0400 |
Hi all,
In the attached snippet, I must adjust the [non-visual] duration of the whole
note and manually add an explicit \bar "" command in order to break the line
where I want it.
Is there any way to avoid this? I'd like to say, in effect, "during this
passage, every (e.g.) eighth note should be considered a breakable point for
the purposes of layout calculations". All notes would maintain their original
duration (at least visually), all beaming would stay as expected, etc. — it
would just allow breaking "everywhere". A command like
\override Score.NonMusicalPaperColumn.line-break-interval = #(ly:make-moment
1/8)
would be amazing. I do a lot of polymetric passages, some with mixed meters on
each staff, so doing layout work becomes a challenge when you have to keep
adjusting durations, adding \bar-s, etc.
Any thoughts/comments would be appreciated — code that solves my problem, even
more so!
Thanks,
Kieren.
%%% SNIPPET BEGINS
\version "2.19"
\layout {
line-width = 3\in
ragged-right = ##f
indent = 0
\context {
\Score
\remove "Timing_translator"
\remove "Default_bar_line_engraver"
}
\context {
\Staff
\consists "Timing_translator"
\consists "Default_bar_line_engraver"
}
}
<<
\new Staff { \time 3/2 c''1 2 }
\new Staff { \time 3/4 c''4 4 4 \break 4 4 4}
>>
<<
\new Staff { \time 3/2 c''1*3/4 \bar "" s4 c''2 }
\new Staff { \time 3/4 c''4 4 4 \break 4 4 4}
>>
%%% SNIPPET ENDS
________________________________
Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden
- making all grobs breakable (for easier polymetric scores),
Kieren MacMillan <=