humdrum-tools / verovio-humdrum-viewer

Verovio Humdrum Viewer
http://verovio.humdrum.org
38 stars 9 forks source link

humdiff filter doesn't work #900

Open jacekiwaszko1 opened 2 weeks ago

jacekiwaszko1 commented 2 weeks ago

humdiff isn't currently working, either in the Verovio Humdrum Viewer or in the terminal.

The filter returns the Error message:

Error: all files must have the same duration

Seems like the duration of the second file is set to -1 (this is around line 61 in the tool source code in humlib)

test data:

!!!!filter: humdiff
!!!!SEGMENT: test1
**kern
4c
4d
4e
4f
*-
!!!!SEGMENT: test2
**kern
4c
4d
4f
4f
*-

BTW: again I'm responsible for the issue of round number (## 100, 200, 300 and now 900 are mine ;) )