Improve counthints
bwl21 opened this issue · comments
Bernhard Weichel commented
countnotes should be improved such that
- punctuated notes are counted more precisely, , e.g '1-u-2' instead of '1-2'
- notes starting off a full beat
Solution
- tokenize the raw count notes
- find the characters to be deleted by regular expressions
- find the minimum count accuracy necessary to express precise counting; one of \d, u
- remove the counts which are smaller then the minimum count accuracy.