lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making all grobs breakable (for easier polymetric scores)


From: Lukas-Fabian Moser
Subject: Re: making all grobs breakable (for easier polymetric scores)
Date: Sun, 26 Nov 2017 15:08:57 +0100

Sorry for digging out this old thread:
 
\set Staff.barAlways = ##t
\set Staff.defaultBarType = ""

For me this only works when I replace Staff by Score. Is this to be expected?

Best
Lukas

2017-08-05 0:05 GMT+02:00 Malte Meyn <address@hidden>:


Am 04.08.2017 um 19:33 schrieb Kieren MacMillan:
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".

\set Staff.barAlways = ##t
\set Staff.defaultBarType = ""

This sets a "" barline after every rhythmical event that occurs in the score (not only the current staff). You then need to set the “real” barlines by hand, something like:

\new Staff <<
  { \time 3/2 c''1 2 1 2 }
  \repeat unfold 2 { s1. \bar "|" }
>>

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

Hm … the solution from above breaks beaming because autobeaming never sets beams across barlines.

Any thoughts/comments would be appreciated — code that solves my problem, even more so!

The code above just inserts "" barlines; to allow breaking in the middle of sounding notes you’ll need

\remove Forbid_line_break_engraver

in the Voice context(s).


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

[Prev in Thread] Current Thread [Next in Thread]