Skip to content

[MU4] exclude accidentals etc. from chord shape if autoplace disabled #5840

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

Closed

Conversation

MarcSabatella
Copy link
Contributor

There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
- despite the best intentions of "smart layout" changes for 3.0,
accidentals can't tuck under the previous note
- accidentals in a measure result in increased note spacing,
even if the measure ie wider enough to not need extra space
- for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

I have not yet created vtests because I'm not sure we're ready for that, I expect the possibility of further changes based on review. I'm therefore marking this WIP, and not necessarily recommending this be included in 3.5 unless there is strong agreement it makes sense to do this now while we await a good autoamtic solution.

There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591
@MarcSabatella MarcSabatella added the work in progress not finished work or not addressed review label Mar 19, 2020
@MarcSabatella
Copy link
Contributor Author

MarcSabatella commented Mar 19, 2020

Some images to give an idea of what this does. First, showing the before/after regarding tucking:

Before:

image

After disabling autoplace for the G#:

image

@MarcSabatella
Copy link
Contributor Author

Actually, regarding the uneven spacing, it helps, but not as much as I'd like, so I'm not bothering with a picture yet.

@MarcSabatella
Copy link
Contributor Author

See also #4784. I guess in the end I'd say, neither is ready for merge. It will require more work to make something really useful out of them, I'm afraid. But this one to me is worth keeping open as WIP I think.

@igorkorsukov igorkorsukov changed the title exclude accidentals etc. from chord shape if autoplace disabled [MU4] exclude accidentals etc. from chord shape if autoplace disabled Feb 5, 2021
@Jojo-Schmitz
Copy link
Contributor

Any further plans on this? At least a rebase is needed.

@MarcSabatella
Copy link
Contributor Author

This definitely feels worth revisiting post-4.0 whenever the next big "engraving push" happens. There would need to be a significant update of the spacing algorithm required for this approach to be viable. And I understand this is being looked at.

Meanwhile, this particular hack is "harmless" enough as it won't affect scores unless you explicitly disable autoplace for a given accidental. On the other hand, who knows how many scores have it disabled because people tried it in an attempt to solve some other problem, found it had no effect, and just left it disabled. So there is that risk to assess. Personally I'd rather see the effort going into a real fix.

Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 13, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
@Jojo-Schmitz
Copy link
Contributor

Jojo-Schmitz commented Sep 13, 2021

Interestingly when rebses onto my PR #9000 some mtests fail with autoplace issues on copy/paste, see https://github.com/musescore/MuseScore/pull/9000/checks?check_run_id=3589269967#step:5:698

Actually this PR here seems to have never run the mtests in the first place?

Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 13, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 13, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 13, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 13, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 14, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 14, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 14, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 14, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 14, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 14, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 16, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 16, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 17, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 17, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 17, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 17, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 17, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 17, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 20, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 20, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 21, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 21, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 22, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 22, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 23, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 23, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 24, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 24, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 26, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 26, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 29, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 29, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Oct 3, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Oct 3, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Dec 7, 2021
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Dec 7, 2021
@Jojo-Schmitz
Copy link
Contributor

Rebase needed

@MarcSabatella
Copy link
Contributor Author

Unless I'm missing something, this shouldn't be needed anymore, now accidentals tuck automatically, as of @mike-spa 's most recent set of changes.

@Jojo-Schmitz
Copy link
Contributor

Then this one should get closed I guess

@MarcSabatella
Copy link
Contributor Author

Probably so, I’m unless there is a use case for which it could still make sense. I haven’t had an opportunity to play with the latest builds yet.

Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request May 12, 2022
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request May 12, 2022
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Mar 5, 2023
There are a number of spacing issues that stem (pun not intended)
from the inclusion of things other than the notes themselves
in chord shapes:
    - despite the best intentions of "smart layout" changes for 3.0,
      accidentals can't tuck under the previous note
    - accidentals in a measure result in increased note spacing,
      even if the measure ie wider enough to not need extra space
    - for the latter, similar for arpeggios, fingering, etc

There has been good discussion and proposals for ways of fixing this,
but they require relatively significant changes to the layout,
probably require new options to support, etc.
And the tucking issue might not be solvable at all for beamed notes
without changes to the beaming algorithm as well.

This commit provides a manual workaround:
allowing the user to disable autoplace for a note,
which results in the accidentals and other attached symbols
being excluded from the chord shape.
The note itself is still added to the chord shape,
so the note is spaced as it normally would be
if it didn't have accidentals etc.
That means you will get collisions if spacing is tight,
so don't disable autoplace unless there is definitely room.
And in that case, the spacing automatically improves,
plus accidentals will tuck under previous notes where appropriate.

I'm not calling this a fix because eventually this should be automatic.
But see:

https://musescore.org/en/node/289446
https://musescore.org/en/node/299741
https://musescore.org/en/node/285591

Duplicate of musescore#5840
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
work in progress not finished work or not addressed review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants