The problem
I'm currently working on a joke piece to learn the lilypond software and came across this unusual bug.
I currently have this in the code:
\clef "percussion"
c'1^\markup "scream"
\clef "treble"
\time 4/4
r1 r2 r r4 r r r r8 r r r r r r r r16 r r r r r r r r r r r r r r r r32 r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r
yet for some reason lilypond is not putting 4 beats per measure?
It seems to round 3 plus a single triplet note? I'm not sure why this is happening.
Clues
A few time signatures before this I have a measure using a 4/3 time signature which uses 5 beats plus a single quarter note triplet (5⅓ beats).
The two other time signatures that appear between them I do not finish between switching to a different time signature and putting a bar line to show the difference.
I'm still not entirely sure why this happens and how to fix it. Does anybody know how? Thanks in advance.
Edit
The problem was an overflow, and it is solved now. Thank you!