Skip to content
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

Improve TAB fretting algorithm. #1160

Merged
merged 1 commit into from Aug 21, 2014
Merged

Improve TAB fretting algorithm. #1160

merged 1 commit into from Aug 21, 2014

Conversation

mgavioli
Copy link
Contributor

An attempt to improve the current implementation to better deal with the case in forum post #29876 and possibly even with less specialized cases.

Changes:

  • when a note changes of pitch, its fretting is discarded before any fretting
  • each note not yet fretted is sorted for fretting as belonging to the string most convenient for it.
  • increasing voices (1, 2, 3, 4) get higher sort keys rather than lower as before.

These changes mostly affect the order in which notes are evaluated during fretting.

Note: the algorithm can still be fooled by casual note entry and by changing note pitches by large intervals (octave), but it seems anyway better than before.

An attempt to improve the current implementation to better deal with the case in forum post #29876 and possibly even with less specialized cases.

Changes:
- when a note changes of pitch, its fretting is discarded before any fretting
- each note not yet fretted is sorted for fretting as belonging to the string most convenient for it. This affects the order in which notes are evaluated during fretting.

Note: the algorithm can still be fooled by casual note entry and by changing note pitches by large intervals (octave), but it seems anyway better than before.
@mgavioli mgavioli changed the title Improve TAB fretting algorithm. Still under test, DO NOT MERGE! Improve TAB fretting algorithm. Aug 20, 2014
mgavioli added a commit that referenced this pull request Aug 21, 2014
@mgavioli mgavioli merged commit 53a33ec into musescore:master Aug 21, 2014
@mgavioli mgavioli deleted the Improve_tab_fretting_algorithm branch August 21, 2014 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant