CPJKU / partitura

A python package for handling modern staff notation of music
https://partitura.readthedocs.io
Apache License 2.0
228 stars 15 forks source link

match file version 1.0.0 voice parsing bug #267

Closed sildater closed 10 months ago

sildater commented 1 year ago

in the newest match file version voice information is stored as scoreattribute number with a prefix "v". this is not correctly parsed in load_match, where the voice information is cast to integers. The loading doesn't break but all voice information is lost.

sildater commented 1 year ago

I'll add it here: the match files for chopin excerpts in 4x22 contain note IDs without dashes, e.g., "n1", the others contain repeats and are identified with dashes, e.g., "n1-1". It would probably be good to have this consistent and append a suffix for the ones without repeats.

manoskary commented 12 months ago

Is this linked issue to any PR? Should it be scheduled for Release 1.3.2 ?

sildater commented 11 months ago

@huispaty are you looking into this for the next release?

some more things I just checked:

huispaty commented 11 months ago

Hello! Yes I pushed a fix for this a few days ago into branch match_import -- I'll check again if number_pattern is used somewhere else and adapt my fix if necessary. There was another fix for importing match (trill notes parsing for match version v0) -- when both are fixed I'll create a PR and link you!