-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[MU4 Issue] sigD = 256 crashes MuseScore #8890
Comments
The issue tracker here on GitHub is only used for tzhe current in develeopment 4.0, the master branch For but in 3.x use the issue tracker on musescore.org. But please also explain what "sigD" is? Apart from that modifying the mscx with an external editor is not supported at all. |
So I'm creating a custom time signature, with the denominator (sigD) being 256, however it is not listed in MuseScore (only 2, 4, 8, 16, 32, and 64 are listed), so I have to modifying the file itself. I found that when sigD = 128, which is also impossible to achieve in the app, MuseScore can work perfectly. However it crashes when sigD = 256. |
The shortest denominator MuseScore allows in the UI is 64. That is for a reason! Manually chanmge that tio anything higher is not supported, a crash in those cases is basically by design. It certainly is not a bug. 1/128 is possible BTW. See this as a bonus. It gets shown as 1/4 though. But at least no crash ;-) |
You've opened it as a MU4 issue, but it isn't. It is a limitation of MuseScore that exists ever since |
I see, but I'll be glad if it can be supported in the future. Also it is weird how 1/128 works but 1/256 not, both of which are not supported. Anyway I'll look for a substitution (I have no idea why that piece of music uses such a strange time signature lol). Thanks for your reply :D |
Well 128 doesn't crash, but doesn't really work either One place for such a check might be MuseScore/src/engraving/libmscore/measure.cpp Lines 2102 to 2105 in 186ced1
adding an |
128 does work in 3.6.2, but yes adding a check is necessary I guess |
I've found the place where the malfunctioning at 128th happpens, in 3.x: MuseScore/mscore/measureproperties.cpp Lines 128 to 130 in 3ca622a
As a 128 is not in the UI, it doesn't get found here, so falls back to the 3rd entry, a quarter Seems supporting 128th would be very easy But feel free to submit a feature request for 128th and 256th, at least the latter would only be possible to provide with MuseScore 4, as MuseScore 3.6.2 and earlier would crash on them. It it doesn't make it into MuseScore 4, such a feature would have to wait for MuseScore 5 |
lol |
Actually the crash happens at MuseScore/src/engraving/libmscore/sig.cpp Lines 33 to 40 in 186ced1
And this reveals that shorter than 128 is not possible without bumping up MScore::division , currently 480. This indeed would be a very major change
|
and report an errori rather than crash if the score has something shorter See musescore#8890 and musescore#8893, backport of musescore#8994, part 1
and report an errori rather than crash if the score has something shorter See musescore#8890 and musescore#8893, backport of musescore#8894, part 1
and report an error rather than crash if the score has something shorter See musescore#8890 and musescore#8893, backport of musescore#8894, part 1
and report an error rather than crash if the score has something shorter See musescore#8890 and musescore#8893, backport of musescore#8894, part 1
and report an error rather than crash if the score has something shorter See musescore#8890 and musescore#8893, backport of musescore#8894, part 1
and report an error rather than crash if the score has something shorter See musescore#8890 and musescore#8893, backport of musescore#8894, part 1
and report an error rather than crash if the score has something shorter See musescore#8890 and musescore#8893, backport of musescore#8894, part 1
and report an error rather than crash if the score has something shorter See musescore#8890 and musescore#8893, backport of musescore#8894, part 1
and report an error rather than crash if the score has something shorter See musescore#8890 and musescore#8893, backport of musescore#8894, part 1
and report an error rather than crash if the score has something shorter See musescore#8890 and musescore#8893, backport of musescore#8894, part 1
and report an error rather than crash if the score has something shorter See musescore#8890 and musescore#8893, backport of musescore#8894, part 1
and report an error rather than crash if the score has something shorter See musescore#8890 and musescore#8893, backport of musescore#8894, part 1
and report an error rather than crash if the score has something shorter See musescore#8890 and musescore#8893, backport of musescore#8894, part 1
and report an error rather than crash if the score has something shorter See musescore#8890 and musescore#8893, backport of musescore#8894, part 1
Describe the bug
Selecting notes and rests in a measure whose sigD = 256 crashes MuseScore. Playback also crashes upon reaching the measure.
To Reproduce
Steps to reproduce the behavior:
Context
The text was updated successfully, but these errors were encountered: