Repository navigation
0.7.1
crisp_notation_core, crisp_notation and crisp_notation_cli 0.7.1 are on pub.dev.
Fix for issue #19 (reported by @lehmannk)
- A piece that ends on a repeat ends with the repeat barline alone. The end-of-piece thin+thick barline was also drawn behind it.
Found by the new engraving checks
Every layout is now checked against engraving rules (a layout lint, a barline grid over every style × position × layout entry point, and barlines compared four ways over ~4,900 real scores plus the LilyPond MusicXML test suite). They found:
- Staff lines ran a staff space past an explicit closing barline, in ~90% of MusicXML files (MuseScore writes
light-heavyon every last bar). - A plain barline was left in front of start repeats (
| ‖:). - Empty bars (a hidden whole-bar rest) had zero width, stacking their barlines.
- Accidentals in two-voice measures, and chords naming a pitch twice, drew twice. A unison of two spellings (B and B♭) now sits side by side.
- Keys beyond 7 sharps or flats crashed layout (new
KeySignature.fromFifths). - A stem-down second's left notehead hit the time signature or barline before it; a dotted second's two dots landed on one spot.
- Tab staves now draw barline styles, repeats and the closing barline.
- Justified lines keep a straight right margin (padding what spacing cannot fill) and keep their note names.
Output changes
- The staff stops at an explicit closing barline; a final repeat closes alone.
- No barline before a start repeat (unless a clef/key/time change sits between).
- Empty bars are a bar wide.
- Stem-down seconds take a little more room on the left.
- Tab staves show repeats and closing barlines.
Pin <0.7.1 to keep the old behaviour. Full details are in each package's CHANGELOG; testing guidance is in CONTRIBUTING.md.