[MusicXML] Change instrument excludes entry of original instrument

• Jan 13, 2015 - 19:13
S4 - Minor

1. Create piano score.
2. Fill the first two bars with notes.
3. Apply 'Instrument' (from the Text palette) to bar 2.
4. Right-click the text.
5. 'Change Instrument…'.
6. Choose Harpsichord.
7. 'OK'.
8. 'File'>'Export…'
9. Choose 'MusicXML'.
10. 'Save'.
11. Open MusicXML.
12. 'Play'.

Result: All notes are harpsichord - there is no entry for it in 'Mixer' either.

Note: It is also reproducible in a 1.3 score.

Using MuseScore 2.0 Nightly Build 63c2174 - Mac 10.7.5.


Some information:

This function is also available in the form of being able to change sound only (in Mixer), rather than via 'Change Instrument…'. The sound-only function is for entries that bare the same name, but include sound changes (e.g. keyboard).

In a 2.0 score, the result is the same as the original post. However, it is opposite effect in a 1.3 score - the sound of the instrument change is excluded.

Using MuseScore 2.0 Nightly Build 63c2174 - Mac 10.7.5.

Status (old) active duplicate

This is the result of the combination of #23079: [MusicXML] Change instrument not exported (recently fixed) and #43966: [MusicXML import] testMultiInstrumentPart.xml imports as single instrument part (in progress, but not completed yet): when exporting multi-instrument parts to MusicXML and importing again, the resulting part uses only one instrument. This does not work in 1.3 either.

Wrt the remark in comment #1, the "sound only change" in the mixer actually changes the MIDI program number, which is correctly exported to / imported from MusicMXL.

Closing the issue as a duplicate.

PS: please keep in mind that MuseScore and MusicXML sometimes use slightly different concepts, in which case a roundtrip through MusicXML cannot lead to exactly identical results in MuseScore.