bwl21 / zupfnoter

Web based editor for Tableharp notations based on abc notation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve counthints

bwl21 opened this issue · comments

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.