Improve MusicXML export of section breaks

• May 11, 2020 - 12:38
Reported version
3.4
Type
Functional
Frequency
Once
Severity
S5 - Suggestion
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

Section breaks get exported to MusicXML as system breaks, as far as I know because in MusicXML there's no such thing as a section break. So far, so bad, but the situation could get improved by:

a) adding an explicit time signature (if there isn't an explicit one before already), same as whatever was in effect before that section break and disable courtesy time signature
b) adding an explicit key signature (if there isn't an explicit one before already), same as whatever was in effect before that section break and disable courtesy key signature
c) adding an explicit clef (if there isn't an explicit one before already), same as whatever was in effect before that section break and disable courtesy clef
d) restart measure numbers to start counting from one
e) have the system to start with a long instrument names

Bonus points for detecting those changes above on import to mean to add a section break rather than a system break

Came up in #278830: No time signature after section break

Relates to #270643: [EPIC] MusicXML import/export issues