Voice standardization #539
Replies: 7 comments
-
Hi Luc: can you give a concrete example of something where different interpretations do not make perfect sense? MusicXML was created at a time when multiple possible encodings was considered more of a feature than a problem. (A sister format MEI takes this idea further). Today the pendulum has swung more in the direction of "one musical score=one correct encoding" because of the various machine learning and other advantages this entails. I want to gently nudge MusicXML in that direction and best practices in docs are a good way to do that. So any proposed language would help there. |
Beta Was this translation helpful? Give feedback.
-
The difference between |
Beta Was this translation helpful? Give feedback.
-
Hi Michael,
I don't know if I can answer your question. If the description of a score leaves room for interpretation, then there is something wrong with the description. I can explain why I started this discussion. Now I have some scores that Playscore can't handle and I looked at Newzik. that gave a better result but in Musescore I got a lot of cross-staffed notes and it's not easy to assign them to the right staff. I saw in Musescore that you can export a file into MEI format, but didn't know what that was until now. I took a quick look at it. In the meanwhile, I checked how Finale imports the newzik musicxml file, and there I get the result I expected. Best Regards, |
Beta Was this translation helpful? Give feedback.
-
The basic issue is that an exchange format like MusicXML has a way of representing voices that is not identical to the way that software applications represent voices. Each application has to map between MusicXML's concept and its implementation. Apps that use layers usually have a pretty straightforward mapping, but things can get more complicated depending on how cross-staff notes are implemented. There's only so much an exchange format like MusicXML can do. If Finale is importing the Newzik file correctly and MuseScore isn't, I'd file a bug report with MuseScore. |
Beta Was this translation helpful? Give feedback.
-
(S)He did bring it up in the musescore forum: https://musescore.org/en/node/366874, where it was claimed to be one of the MusicXML gray areas by our resident MusicXML guru (@lvinken) ;-) |
Beta Was this translation helpful? Give feedback.
-
Interesting conversation. Perhaps the voice attribute "Number" should be changed to "ID". Some thoughts about this: A voice can represent a particular timbre (violin, flute, soprano, alto) or a single timbre which breaks into one or more subvoices (piano, classical guitar). In the case of subvoices it might be useful to think of specifying a subvoice ID. Assigning a unique ID to a voice helps determine stem directions when multiple voices or subvoices share a staff. The voice ID also helps determine stem ownership as well as stem direction and length when notes in the same chord appear in adjacent staffs. Controlling voices can be like controlling cats. Because they can wander across staffs, appear above and below other voices with no respect for heirarchy, it seems futile to think of voices as having a numerical sequence (as is the case with Lyrics). Although there could sometimes be a case for subvoices to have sequential numbers within a voice ID--if you can keep them on a leash. The voice problem also shows why notes and rests should always have reliable voice ID (and Staff ID) attributes. |
Beta Was this translation helpful? Give feedback.
-
Sorry to inject opinions without introducing myself, I'm not sure what the protocol is for making comments here. My name is Doug Heyer. I had a career in music and computing, and spent several years working on the Personal Composer program while it was still alive. I am now retired and have lots of time to reflect on that effort. This is a fascinating subject. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm looking at musicxml as a vendor-independent description of piano sheet music.
I use it to digitalize my sheet music by running an OMR program that generates a musicxml file and using it in Musescore to visualize the content.
Voices are used to describe notes that start at the same moment but have different durations, or more generaly: notes that overlap.
Now the 3 programs I use have all a different interpretation of how voices should be assigned to notes.
I have been looking at the definitions on the W3C website, but I can't find any information about this matter.
It would be nice that there is a concensus about how to use voices in the next release of musicxml.
Is there a site where the content of a new release is discussed?
Thanks,
Luc.
Beta Was this translation helpful? Give feedback.
All reactions