MusicXML sound dynamics negative value error
Hi,
See the fragment of XML output from musescore below. There is a negative value for sound dynamics which is illegal
Regards
James Sutton
<measure number="2" width="144.45">
<barline location="left">
<bar-style>heavy-light</bar-style>
<repeat direction="forward"/>
</barline>
<direction placement="below">
<direction-type>
<words>dolce</words>
</direction-type>
<sound dynamics="-1.11"/>
</direction>
Comments
What version of MsueScore, what OS< can you post the score that produced this?
In reply to What version of MsueScore, by Marc Sabatella
V1.2 R5470
Mac OS X 10.7.4
In reply to V1.2 R5470 Mac OS X 10.7.4 by jsutton
As a workaround, right click on dulce, MIDI properties and change the velocity. Or even better, use a normal staff text, (Ctrl + T) instead of a dynamic for "dulce". Maybe you created the file from an import of Capella or Overture?
In reply to As a workaround, right click by [DELETED] 5
Thank you for the help. If I might make a suggestion, it is very helpful to use a validating XML serialiser to catch this sort of error before it gets into the xml file.
I use CodeSynthesis XSD/e in SeeScore for iPad (http://www.codesynthesis.com/products/xsde/). I can recommend it unreservedly. XSD (the non-mobile version) is free for open source developers as I understand.
In reply to MusicXML value errors by jsutton
Thanks for the suggestion. Next version of MuseScore will use schema validation on MusicXML import, but I don't see how we could use one for export. It's just a bug that need to be fixed.
In reply to Thanks for the suggestion. by [DELETED] 5
Thanks again for the report. The bug is fixed for next version, dynamic with negative values are not exported.