-
Notifications
You must be signed in to change notification settings - Fork 3k
[MU3 Backend] ENG-52: Infer incorrectly exported fingerings #8298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MU3 Backend] ENG-52: Infer incorrectly exported fingerings #8298
Conversation
e36ca2e
to
00c1237
Compare
looking for rebase |
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure.
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests.
00c1237
to
9bc651f
Compare
Rebased! |
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate pf musescore#8298, part 2
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate pf musescore#8298, part 2
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1, plus 4 fixed compiler warnigs
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate pf musescore#8298, part 2
QString placement, | ||
Measure* measure, | ||
Fraction tick) | ||
: _totalY(totalY), _text(text), _element(element), _track(track), _placement(placement), _measure(measure), _tick(tick) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Swapping _text(text)
and _element(element)
resolves a compiler warning (and gets them into the order of the argument list). Maybe another addition for #8481 .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1, plus 4 fixed compiler warnigs
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate pf musescore#8298, part 2
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1, plus 4 fixed compiler warnings, see musescore#8298
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate pf musescore#8298, part 2
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1, plus 4 fixed compiler warnings, see musescore#8298
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate pf musescore#8298, part 2
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1, plus 4 fixed compiler warnings, see musescore#8298
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate pf musescore#8298, part 2
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1, plus 4 fixed compiler warnings, see musescore#8298
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate pf musescore#8298, part 2
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1, plus 4 fixed compiler warnings, see musescore#8298
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1, plus 4 fixed compiler warnings, see musescore#8554
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate pf musescore#8298, part 2
See musescore#8298, issue possibly caused by another commit though. Here just disabling the test, as the output doesn't give any hints as to what the issue actually is. ``` 62/62 Test #51: tst_mxml_io ......................***Failed 96.44 sec <diff -u /home/runner/work/MuseScore/MuseScore/mtest/musicxml/io/testInferredFingerings_ref.mscx testInferredFingerings.mscx failed 98% tests passed, 1 tests failed out of 62 ```
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1, plus 4 fixed compiler warnings, see musescore#8554
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate pf musescore#8298, part 2
See musescore#8298, issue possibly caused by another commit though. Here just disabling the test, as the output doesn't give any hints as to what the issue actually is. ``` 62/62 Test #51: tst_mxml_io ......................***Failed 96.44 sec <diff -u /home/runner/work/MuseScore/MuseScore/mtest/musicxml/io/testInferredFingerings_ref.mscx testInferredFingerings.mscx failed 98% tests passed, 1 tests failed out of 62 ```
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1, plus 4 fixed compiler warnings, see musescore#8554
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate pf musescore#8298, part 2
See musescore#8298, issue possibly caused by another commit though. Here just disabling the test, as the output doesn't give any hints as to what the issue actually is. ``` 62/62 Test #51: tst_mxml_io ......................***Failed 96.44 sec <diff -u /home/runner/work/MuseScore/MuseScore/mtest/musicxml/io/testInferredFingerings_ref.mscx testInferredFingerings.mscx failed 98% tests passed, 1 tests failed out of 62 ```
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1, plus 4 fixed compiler warnings, see musescore#8554
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate pf musescore#8298, part 2
See musescore#8298, issue possibly caused by another commit though. Here just disabling the test, as the output doesn't give any hints as to what the issue actually is. ``` 62/62 Test #51: tst_mxml_io ......................***Failed 96.44 sec <diff -u /home/runner/work/MuseScore/MuseScore/mtest/musicxml/io/testInferredFingerings_ref.mscx testInferredFingerings.mscx failed 98% tests passed, 1 tests failed out of 62 ```
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1, plus 4 fixed compiler warnings, see musescore#8554
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate of musescore#8298, part 2
See musescore#8298, issue possibly caused by another commit though. Here just disabling the test, as the output doesn't give any hints as to what the issue actually is. ``` 62/62 Test #51: tst_mxml_io ......................***Failed 96.44 sec <diff -u /home/runner/work/MuseScore/MuseScore/mtest/musicxml/io/testInferredFingerings_ref.mscx testInferredFingerings.mscx failed 98% tests passed, 1 tests failed out of 62 ```
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1, plus 4 fixed compiler warnings, see musescore#8554
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate of musescore#8298, part 2
See musescore#8298, issue possibly caused by another commit though. Here just disabling the test, as the output doesn't give any hints as to what the issue actually is. ``` 62/62 Test #51: tst_mxml_io ......................***Failed 96.44 sec <diff -u /home/runner/work/MuseScore/MuseScore/mtest/musicxml/io/testInferredFingerings_ref.mscx testInferredFingerings.mscx failed 98% tests passed, 1 tests failed out of 62 ```
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1, plus 4 fixed compiler warnings, see musescore#8554
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate of musescore#8298, part 2
See musescore#8298, issue possibly caused by another commit though. Here just disabling the test, as the output doesn't give any hints as to what the issue actually is. ``` 62/62 Test #51: tst_mxml_io ......................***Failed 96.44 sec <diff -u /home/runner/work/MuseScore/MuseScore/mtest/musicxml/io/testInferredFingerings_ref.mscx testInferredFingerings.mscx failed 98% tests passed, 1 tests failed out of 62 ```
See musescore#8298, issue possibly caused by another commit though. Here just disabling the test, as the output doesn't give any hints as to what the issue actually is. ``` 62/62 Test #51: tst_mxml_io ......................***Failed 96.44 sec <diff -u /home/runner/work/MuseScore/MuseScore/mtest/musicxml/io/testInferredFingerings_ref.mscx testInferredFingerings.mscx failed 98% tests passed, 1 tests failed out of 62 ```
See musescore#8298, issue possibly caused by another commit though. Here just disabling the test, as the output doesn't give any hints as to what the issue actually is. ``` 62/62 Test #51: tst_mxml_io ......................***Failed 96.44 sec <diff -u /home/runner/work/MuseScore/MuseScore/mtest/musicxml/io/testInferredFingerings_ref.mscx testInferredFingerings.mscx failed 98% tests passed, 1 tests failed out of 62 ```
See musescore#8298, issue possibly caused by another commit though. Here just disabling the test, as the output doesn't give any hints as to what the issue actually is. ``` 62/62 Test #51: tst_mxml_io ......................***Failed 96.44 sec <diff -u /home/runner/work/MuseScore/MuseScore/mtest/musicxml/io/testInferredFingerings_ref.mscx testInferredFingerings.mscx failed 98% tests passed, 1 tests failed out of 62 ```
A common error in exporters is misinterpreting fingerings as word-type directions. This commit adds the MusicXMLInferredFingering and the associated code necessary to detect these directions, find the correct notes to add them to, then add them if such notes are found. The current iteration is able to distribute the fingerings across voices if necessary, as well as round the tick value of a direction to the nearest greatest common denominator of the measure. Duplicate of musescore#8298, part 1, plus 4 fixed compiler warnings, see musescore#8554
This simple addition to the isLikelyFingering() function adds recognition of fingering changes of the form #-# or #–#. Also updates corresponding tests. Duplicate of musescore#8298, part 2
See musescore#8298, issue possibly caused by another commit though. Here just disabling the test, as the output doesn't give any hints as to what the issue actually is. ``` 62/62 Test #51: tst_mxml_io ......................***Failed 96.44 sec <diff -u /home/runner/work/MuseScore/MuseScore/mtest/musicxml/io/testInferredFingerings_ref.mscx testInferredFingerings.mscx failed 98% tests passed, 1 tests failed out of 62 ```
Resolves: ENG-52: Correct for incorrectly exported fingerings
A common error in exporters is misinterpreting fingerings as word-type
directions. This commit adds the
MusicXMLInferredFingering
class and theassociated code necessary to detect these directions, find the correct
notes to add them to, then add them if such notes are found.
The current iteration is able to distribute the fingerings across voices
if necessary, as well as round the tick value of a direction to the
nearest greatest common denominator of the measure.