Belt-and-suspenders rhythm input checks, in addition to bar checks
https://lists.gnu.org/archive/html/lilypond-user/2022-09/msg00230.html
https://lists.gnu.org/archive/html/bug-lilypond/2022-11/msg00017.html
Although bar checks catch most rhythm entry errors, they can miss some. An example is
{
R1*4 c'
}
where the user means c'1
because of their misunderstanding of the fact that R1*4
is an MM rest event with a duration of 1*4
, not some sort of equivalent of \repeat unfold 4 R1
.
There are at least two things that we can consider doing about this:
-
Adding a warning if a note crosses a bar line. This does happen in actual music though (David gave an example with Renaissance music), so it must be optional, but perhaps it could be on by default. This would catch the example above, although it would not catch the one in https://lists.gnu.org/archive/html/lilypond-user/2022-09/msg00230.html.
-
Adding a way to have a warning emitted if there is no bar check at the start of a measure. Whether to require a bar check in every component of a parallel music expression is unclear. Also,
R1*4
breaks this, so one would have to find a sane way to exclude that case.