BirminghamConservatoire / JohannesTinctoris

Editing and rendering text and music notation for online edition of music treatises
7 stars 4 forks source link

Automatic line breaks #25

Closed annplaksin closed 3 years ago

annplaksin commented 4 years ago

There are a few issues left with the automatic line breaks:

  1. Long variants reach over (Lib. de arte II+III: I.xx.ex2) grafik

  2. ) In the Tenor of Beatissima Beatrix (II.xxvi.ex1), the line breaks strike me as too severe; I'd prefer to see just one break before "Nos omnes". grafik

  3. The hard custos at the beginning of the second staff (connected to the change of clef) should never come at the beginning of a staff; it must have at least one note before it. Since the variant actually consists of the custos + the clef, it must also never come last in a staff, but must have at least one note after the clef. grafik

  4. The mensuration + proportion should not be broken over the end of the second staff and the beginning of the third; any mensuration + proportion must be treated as an indivisible composite sign. This was also happening in the Sanctus (II.xxiii.ex1). grafik


See: https://github.com/EarlyMusicTheory/JohannesTinctoris/blob/eeb93bdab624dda722e1d7c556fa8fb27e88a1e5/ScriptLibrary/music-containers.js#L1286

annplaksin commented 4 years ago
  1. In general, accidental sharps and flats must not be the last thing on a staff, but must have at least one note after them, like changed clefs.
annplaksin commented 3 years ago

Maybe adding a functionality to precent custos+clef variants being the first or last in a staff... but the rest seems to be solved