Skip to content

v0.13.0 — scandicus-intervals and isolated-strophae rules

Latest

Choose a tag to compare

@lbssousa lbssousa released this 17 Nov 21:54
· 2 commits to main since this release
v0.13.0
a06f132

New validation rules

scandicus-intervals (Warning)

Checks the melodic shape of scandicus and salicus.

  • Three notes (a syllable whose GABC notes are exactly three ascending
    notes; connectors /, //, !, `, spaces, @ and accidentals are
    ignored):

    • first → second must not exceed a perfect fifth;
    • second → third must not exceed a third;
    • after a leap of a fourth or fifth, second → third must be a step.

    (dfh), (dgh), (dhi) are accepted; (dgi), (dhj) are flagged.

  • Four notes: only all steps (defg) or a third followed by steps
    (dfgh) are admitted. A connector after the first or second note
    (b/ceof, cd/fg) marks a scandicus composed with another neume, which is
    not checked.

  • Groups with a punctum inclinatum (FHjk) are not a scandicus.

isolated-strophae (Warning)

One or two strophae (st, ds, stst) alone on a syllable in an NABC voice
are flagged, since only three or more are admitted. For two strophae, the
message suggests a virga strata (vs).

Both rules can be silenced with linting.ignoreRules in the LSP settings or
grelint --ignore <code>.

API change

  • gregorio-core: Note gains a public field spaced_before (spacing
    connector before the note). Code that builds Note with struct literals must
    set it.

Install

cargo install --git https://github.com/AISCGre-BR/gregorio-lsp --tag v0.13.0 gregorio-server --bin gregorio-lsp
cargo install --git https://github.com/AISCGre-BR/gregorio-lsp --tag v0.13.0 gregorio-cli

Full changelog: v0.12.0...v0.13.0