Tuning information lost when saving as musicxml
Running version 2.3.2 on Ubuntu 18.10. I was disappointed that MuseScore does not appear to save any tuning information from the inspector in its musicxml export.
In the attached MuseScore file, the first C is retuned 15.64 cents sharp with a <tuning> element as it should be. In the corresponding attached musicxml file, there is no corresponding instruction (I was expecting <alter>0.1564</alter>).
Correspondingly, I tried manually adding <alter>0.1564</alter> to the musicxml and then opening in MuseScore, but MuseScore ignores the instruction and omits it from any versions MuseScore saves.
Maybe I'm mistaken about how tuning information is represented in musicxml, but I would feel more comfortable archiving my data in a more universally supported XML (even acknowledging that MNX is on the horizon) instead of MuseScore-only XML.
(In case anybody's wondering why I care about what the source looks like, if I can make shell scripts to automatically add tuning information it will take a hundredth of the time it would take to manually add everything with the inspector.)
Is there a MuseScore bug here or what thoughts do you all have?
Attachment | Size |
---|---|
test---.musicxml | 4.06 KB |
test.mscx | 9.49 KB |
Comments
There are several plugins that assist with retuning notes. What you did not explain is the purpose for retuning the notes. If you explain that, there may be a plugin that automates this for you, or possible could be easily adapted for your purpose.
In reply to There are several plugins… by mike320
Thank you, Mike. I've considered a plug-in, but QML is one more thing to learn and I want to try sed first because it can probably do the job just fine.
Thinking about this further, I probably don't want to hard code tuning information permanently in my archive files. So I'll need to retune a copy anyway, and making a MuseScore copy is as easy as a Musicxml copy. I wonder why MuseScore doesn't just use Musicxml, but that's an idle question--no doubt MuseScore supports a different or wider feature set.
In reply to Thank you, Mike. I've… by andrew907
I'm busy so it may be a while before I have a chance to throw my shell script together, but if other people are looking to automate five-limit just intonation in their scores I'll be happy to post the sed commands back here when I'm ready.
In reply to I'm busy so it may be a… by andrew907
I haven't use https://musescore.org/en/project/tunings-and-temperaments, but it may do what you want with the temperament. To undo it is simple
Method 1 (always works)
Select any note
right click
choose select>all similar items
Change tuning in inspector to 0.00
Repeat the above for grace notes if applicable.
Method 2 (only works if you didn't save the actual score, export does not affect this)
Close the score
click discard
In both cases the plugin is undone. As I said, I haven't used it so just intonation option may be a third option.
In reply to I haven't use https:/… by mike320
I don't remember seeing this before. Thanks for the tip!
In reply to I don't remember seeing this… by andrew907
You're welcome. I'm all in favor of letting others do the heavy work and so I can take advantage of it.😁
See also #296817: [EPIC] Support W3C MNX