You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Squashed commit of the following:
commit fd962ee
Author: Greg Chapman <[email protected]>
Date: Thu Jan 30 11:16:17 2025 -0800
Update READMEs, setup.py, and LICENSE for Release 4.1.
commit 9f0cf12
Author: Greg Chapman <[email protected]>
Date: Thu Jan 30 10:51:07 2025 -0800
Update tests to know about new symbol counting changes.
commit 08e6185
Author: Greg Chapman <[email protected]>
Date: Thu Jan 30 10:39:39 2025 -0800
Tests: add SER output to command line tests.
commit 2188808
Author: Greg Chapman <[email protected]>
Date: Thu Jan 30 10:14:47 2025 -0800
AnnExtra symbol count has len(content) now and AnnExtra symbol error count includes Levenshtein distance of content. AnnStaffGroups are sorted now, and instead of comparing all the part indices, we compare lowest and highest.
commit 7dc9ef0
Author: Greg Chapman <[email protected]>
Date: Tue Jan 28 16:45:47 2025 -0800
Make sure metadata item value ends up being a string.
commit 3f78626
Author: Greg Chapman <[email protected]>
Date: Tue Jan 28 16:37:47 2025 -0800
More symbol count (notation_size) and symbol error count (cost) changes. Trying to make them match eachother better, and make more sense.
commit a58acf3
Author: Greg Chapman <[email protected]>
Date: Tue Jan 28 12:33:35 2025 -0800
Release Notes again.
commit a757ad7
Author: Greg Chapman <[email protected]>
Date: Tue Jan 28 12:32:04 2025 -0800
Stop assuming that the two different extras are both either a Spanner or not. They could be one of each.
commit 3e08d22
Author: Greg Chapman <[email protected]>
Date: Mon Jan 27 15:57:25 2025 -0800
ReleaseNotes update.
commit 1904528
Author: Greg Chapman <[email protected]>
Date: Sun Jan 26 12:10:21 2025 -0800
Update ReleaseNotes 4.1
commit b060304
Author: Greg Chapman <[email protected]>
Date: Sat Jan 25 14:01:25 2025 -0800
musicdiff text output expected results have changed a little due to symbol counting (notation_size and cost) changes.
commit b618d74
Author: Greg Chapman <[email protected]>
Date: Fri Jan 24 14:31:06 2025 -0800
AnnLyric.notation_size: identifiers are only worth 1, not len(identifier).
Print SER even if cost == 0. Handle numSymbolsInGroundTruth being 0 without dividing by 0.
commit a6f76e9
Author: Greg Chapman <[email protected]>
Date: Fri Jan 24 14:27:30 2025 -0800
New release notes for v4.1.0
commit d05187d
Author: Greg Chapman <[email protected]>
Date: Thu Jan 23 15:18:44 2025 -0800
Another lyrics and extras adjustment (lower the costs).
commit 09e92e1
Author: Greg Chapman <[email protected]>
Date: Thu Jan 23 15:03:42 2025 -0800
For extras and lyrics, notation_size does not include offset/duration, and diff cost is incremented by only 1 for differences in each of those fields.
commit 80a630a
Author: Greg Chapman <[email protected]>
Date: Thu Jan 23 12:33:15 2025 -0800
Better notation_size and comparison cost for extras and lyrics.
commit 45b54e6
Author: Greg Chapman <[email protected]>
Date: Tue Jan 21 14:14:03 2025 -0800
Ignore SenzaMisuraTimeSignature (since it is displayed as no timesig at all).
commit 1d08dd9
Author: Greg Chapman <[email protected]>
Date: Tue Jan 21 11:37:49 2025 -0800
Refactor SER output into Visualization, and return a dict[str, str]. To print it as text, we convert to JSON and print that.
commit a176105
Author: Greg Chapman <[email protected]>
Date: Thu Jan 16 09:03:42 2025 -0800
Compute SER = symbolic errors/num symbols in ground truth (i.e. file2).
commit 067a96d
Author: Greg Chapman <[email protected]>
Date: Thu Jan 16 08:56:17 2025 -0800
Add to cost any syntax errors fixed by converter21 parse code. Some lint, too.
commit bfdcf32
Author: Greg Chapman <[email protected]>
Date: Mon Dec 2 17:19:53 2024 -0800
New output format "ser" that prints num errors/max num syms of the two scores.
commit 16d2603
Author: Greg Chapman <[email protected]>
Date: Mon Dec 2 12:23:37 2024 -0800
Always return cost in symbol errors from diff() and from musicdiff command.
commit 31b31e7
Author: Greg Chapman <[email protected]>
Date: Sun Dec 1 21:46:53 2024 -0800
First cut at fixing Humdrum syntax errors.
commit e54c259
Author: Greg Chapman <[email protected]>
Date: Sun Dec 1 19:49:01 2024 -0800
Back out that AnnStaffGroup cost change; I don't like the results, and I wasn't convinced to begin with.
commit eafb018
Author: Greg Chapman <[email protected]>
Date: Sun Dec 1 19:40:38 2024 -0800
More notation_size tweaks: AnnMeasure should include lyric sizes, and AnnStaffGroup should add 1 for each enclosed part/staff.
commit 8f903d9
Author: Greg Chapman <[email protected]>
Date: Sun Dec 1 19:29:09 2024 -0800
Fix comment typo.
commit e6922a7
Author: Greg Chapman <[email protected]>
Date: Sun Dec 1 19:22:43 2024 -0800
Don't precompute notation_size, cache it if it is ever computed. Many objects never are asked their notation size, especially if the scores are very similar, so don't pay the price unless you have to (but only pay it once).
commit 352bc95
Author: Greg Chapman <[email protected]>
Date: Wed Nov 27 17:49:58 2024 -0800
First cut at comparing different number of parts.
Copy file name to clipboardExpand all lines: LICENSE
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
2
2
The MIT License (MIT)
3
-
Copyright (c) 2022-2024 Francesco Foscarin, Greg Chapman
3
+
Copyright (c) 2022-2025 Francesco Foscarin, Greg Chapman
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ musicdiff is derived from: [music-score-diff](https://github.com/fosfrancesco/mu
7
7
by [Francesco Foscarin](https://github.com/fosfrancesco).
8
8
9
9
## Setup
10
-
Depends on [music21](https://pypi.org/project/music21) (version 9.1+), [numpy](https://pypi.org/project/numpy), and [converter21](https://pypi.org/project/converter21) (version 3.2+). You also will need to configure music21 (instructions [here](https://web.mit.edu/music21/doc/usersGuide/usersGuide_01_installing.html)) to display a musical score (e.g. with MuseScore). Requires Python 3.10+.
10
+
Depends on [music21](https://pypi.org/project/music21) (version 9.1+), [numpy](https://pypi.org/project/numpy), and [converter21](https://pypi.org/project/converter21) (version 3.3+). You also will need to configure music21 (instructions [here](https://web.mit.edu/music21/doc/usersGuide/usersGuide_01_installing.html)) to display a musical score (e.g. with MuseScore). Requires Python 3.10+.
11
11
12
12
## Usage
13
13
On the command line:
@@ -26,9 +26,10 @@ On the command line:
26
26
default this is ignored).
27
27
-x/--exclude one or more named details to exclude from comparison. Can be any of the
28
28
named details accepted by -i/--include.
29
-
-o/--output one or both of two output formats: text (or t) or visual (or v); the default
30
-
is visual). visual (or v) requests production of marked-up score PDFs; text
31
-
(or t) requests production of diff-like text output.
29
+
-o/--output one or more of three output formats: text (or t) or visual (or v) or ser (or s);
30
+
the default is visual). visual (or v) requests production of marked-up score
31
+
PDFs; text (or t) requests production of diff-like text output; ser (or s)
32
+
requests a JSON text output containing Symbolic Error Ratio information.
32
33
33
34
file1 first music score file to compare (any format music21 or converter21 can parse)
34
35
file2 second music score file to compare (any format music21 or converter21 can parse)
0 commit comments