DDMAL / cantus

:mag: Searching with Optical Music Recognition technology and the Cantus Database
http://cantus.simssa.ca
MIT License
15 stars 4 forks source link

Update MEIParser to include intervals and contours between neumes & syllables #833

Closed dchiller closed 9 months ago

dchiller commented 9 months ago

OMR Search enables searching of sequences of intervals and contours both within neumes and between neumes. The version of MEIParser introduced in #806 calculated only intra-neume intervals and contours. This PR adds the calculation of inter-neume intervals and contours to the parser.

This PR also adds some typing to the test suite to conform with --strict checking by mypy and some additional subtests of MEIParser.