Skip to content

v0.8.0

Choose a tag to compare

@CrispStrobe CrispStrobe released this 17 Oct 03:51
· 177 commits to main since this release

crisp_notation 0.8.0: closing the gaps listed in docs/COMPARISON.md. crisp_notation_core, crisp_notation and crisp_notation_cli are all at 0.8.0 on pub.dev.

New

  • Vector PDF in pure Dart. pagedLayoutToPdf, multiPartPagesToPdf, scoreLayoutToPdf and scoreLinesToPdf draw paths, embed the SMuFL font (OpenType/CFF) and put the title block on page one. CLI: render score.xml out.pdf [--paper letter] [--staff-pt 5].
  • Scored slurs. Each slur is chosen from candidate shapes, scored for clearance, closeness to the notes, flatness and slope, as LilyPond does.
  • Optical spacing. Spacing between unbeamed notes is adjusted for stem direction.
  • Square-notation chant from GABC. layoutChant / layoutChantLines; CLI --square.
  • House style sheets. LayoutSettings.fromStyle / toStyle; CLI --style sheet.json.
  • Screen-reader nodes in every score view, in reading order and named with their instrument.
  • Score.withMultiRests() draws printed parts with multi-bar rests.
  • Room for the title on page one (firstPageTop, titleBlockHeight).

Found by comparing with Verovio

New opt-in tests compare 1,745 MusicXML files with Verovio: note onsets (1,685 agree) and per-bar rests and accidentals (1,681 agree). They found and fixed:

  • Whole-bar rests now fill the bar in any meter. A typeless bar rest in 9/8 used to read as sixteen quarters.
  • A bar's <type>s win over <duration>s that cannot fill the bar.
  • A note tied over the barline no longer repeats its accidental.
  • MEI <rend> and MuseScore <i>/<b> text was being dropped entirely. It is now read, with its style.

The live corpus now has 237 voice collisions (from 2,398) and one misaligned bar (from 111).