XML Export has "voice 5" content
(using MuseScore 2.1) - I cut/pasted notes from treble to bass clef (using the intermediate steps of temporarily changing the notes to voice 2 before the cut and back to voice 1 after the paste). When I then export the measures and look at the notes in a DAW, the bass clef didn't look right and after looking at the event list voice assignments imported into the DAW, then back-tracking to the data in the XML file, it appears that in the XML file the bass clef notes are tagged as 'voice 5'. Is the XML supposed to say 'voice 5' under this circumstance?
Attachment | Size |
---|---|
1 test_xml_export_before.png | 46.39 KB |
2 test_xml_export_after.png | 48.36 KB |
3 test xml export daw notation.png | 69.99 KB |
4 test xml export event list.png | 89.49 KB |
5 test xml export voice 5.png | 98.88 KB |
Comments
How are you transfering to your DAW? Which DAW is it?
You talk about XML, you mean MusicXML ?
Ok the last screenshot shows some MusicXML. Voice in MusicXML can be anything, including a string that will not parse to a number. See https://usermanuals.musicxml.com/MusicXML/Content/EL-MusicXML-voice.htm
In reply to How are you transfering to… by [DELETED] 5
Hi Iasconic,
To transfer the notes to the DAW (Reaper), from MuseScore I choose File - Export then set the "save as type" to "MusicXML File (*.xml)" and click "Save". Then in the DAW I double-click the XML file in the DAW's "media explorer" file list, which puts the content on the currently selected DAW track at the edit cursor.
In MuseScore, all the notes in my example phrase (bass and treble clefs) that are about to be exported are showing on the MuseScore staves as voice 1, so it seemed odd that after the export and import into the DAW there was anything other than voice 1 over in the DAW (i.e. the bass clef notes). In trying to understand what went wrong, that's when I looked in the XML file itself, and noticed that MuseScore encoded the bass clef notes as being voice 5. Should not all of the notes in the XML file say voice 1?
Thanks,
CH
In reply to Hi Iasconic,… by Chris Heinen
Not really, voice can be whatever in MusicXML. We choose to start at 1 for first staff, 5 for the second one, 9 for the 3rd etc...
In reply to Not really, voice can be… by [DELETED] 5
I see now. That's good to know...
For future reference (for Reaper users importing XML from MuseScore), I found an action in the DAW called "set default voice" which can be applied to note information like this. In the attached images, the notes to be tweaked are highlighted in the event list, then in the notation editor the "set default voice" action is issued (with a before and after to show what changes visually) then the final event list shows the finished voicing assignments.
Thanks, Iasconic for your feedback on this...
CH