Correct way to encode a tie to a note at the beginning of second ending. #666
Replies: 14 comments 33 replies
|
So we're only talking about
Sorry, I misread the documentation. There's an explicit passage about this case:
|
|
I tried hand-editing this and could not find any support for this among Dorico 5, MuseScore 4, or Finale importers. Anything we can do to get importers to read that doc is to the good. 🤣 Also, the callout in the docs does not say what happens when the tie continues past the beginning of the 2nd ending. It seems like there would be yet a third |
|
Here is a export of the first image I posted, with (as best as I understand it) the 2nd ending tie continuation hand coded as follows (for the E4) <note>
<pitch>
<step>E</step>
<octave>4</octave>
</pitch>
<duration>16</duration>
<voice>1</voice>
<type>half</type>
<notations>
<tied type="start" />
<tied type="stop" />
</notations>
</note>Both Dorico 5 and MuseScore import them as forward lv ties rather than continuation ties to the left of the noteheads. Finale ignores them. Here is the musicxml for the second image above, with hand-crafted continuation tie mixed in with the forward tie (which seems to be what the spec is saying, though I could well be mistaken: hence why I opened this discussion). <note>
<pitch>
<step>B</step>
<octave>4</octave>
</pitch>
<duration>4</duration>
<tie type="start"/>
<voice>1</voice>
<type>whole</type>
<notations>
<tied type="start"/>
<tied type="stop"/>
<tied type="start"/>
</notations>
</note>Finale, Dorico 5 and MuseScore both just ignore the extra |
Or they could just start interpreting it correctly irrespective of version. I agree that the new proposed wording is clearer and would advocate making this change. But functionally it describes the current state of the spec in 4.0, at least if I understand the language. 😅 Also, the bigger issue to me is the 2nd example, where they just ignore the "extra" |
|
Here is the MuseScore export. (It has a vestigial I don't know Dorico at all, so I can't quickly test how it exports this. I have it because it was gifted to me by the folks at MakeMusic on their way out the door, as a reward helping them so much over the years. So I use it to test imports. |
|
Here is what Finale exports. It does not reimport either. |
|
I am keeping my answer as the "correct" one because I think that the original question ("Correct way to encode a tie to a note at the beginning of second ending") is addressed by the documentation that I quoted. There are more questions in the discussion, and I agree that if the interpretation that is formulated here is correct, the implications for the software algorithm are significantly complex. Would there be a way to handle the cases mentioned here in a simpler way, by modifying the expectations? |
|
The stated answer works would be straightforward to implement when there is not a tie continuing to the right. But when there is, it may become messy to disambiguate which There is also the "continue" type, and near as I can tell no one uses it, at least among the exporters I'm working with. The "continue" type illustrates perfectly a challenge of working with the musicxml spec. The definition:
This definition leaves more questions than it answers.
As it is, "continue" seems like it is tied to system layout when the name implies it could be used for so much more. (A seeming example is @lemzwerg's 1st ending example above.) I don't mean to pick on this spec, and I know @infojunkie has just inherited it. I am not casting aspersions. I just wish the spec could be less afraid to be highly specific about how the committee envisions elements should be used. It is an opportunity for improvement in 4.1 without the risk of introducing new features. |
Yes! Such a feature would be very much in the spirit of MusicXML, visually describing what's going on. BTW, in LilyPond the command to create such a left-side tie stub is called
From my experience with the MusicXML specification, the word 'usually' actually means 'you must use it exactly as described if you are using it' 🙂 While I often have difficulties with the interpretation of the standard, I think that the meaning here is clear: it is 'continuation from the left at the beginning of a system' and nothing else. As far as I can tell, it is intended for applications that work on the lowest, purely visual representation level; such applications don't have any built-in logic to handle broken ties between systems automatically; sophisticated system thus would ignore An alternative to the suggested |
|
Thanks for the thorough discussion here. To help it reach a conclusion, I think it would be feasible to change the documented expectation to something that makes more sense, IF we can reasonably ascertain that the top major engravers are not already handling the cases described here during MusicXML import / export. It would be useful to classify the cases (into repeated section, out of repeated section, with continuation, etc.) and document what survives MusicXML export then re-import. Also, documenting the way that other formats encode these cases would be instructive. For example, MuseScore 4.x uses the following schema to indicate an incoming tie that's not connected to a previous note: <Note>
<PartialTie>
<partialSpannerDirection>incoming</partialSpannerDirection>
</PartialTie>
[...] |
Yes, it has a |
|
Speaking for myself, I'm interested in any situation involving "jump" ties:
To use Finale terminology, all of these involve "tie-ends" on notes from notes that do not immediately precede them. The first ending and D.S. case also involve tie-forwards to notes that do not come immediately after them. And they also involve tie-forwards to multiple notes. (As in the examples in my original post, where one tie forward ties to notes in both 1st & 2nd endings.) |
|
The one I still would like to see is bar 4 of my second example in the O.G. post. It combines a jump tie continuation (across the first ending) with a tie starting at the same note continuing to bar 5. |











<tie>and<tied>have got to be the most confusingly named elements in MusicXML...As per the doc:
So we're only talking about
<tied>here.In example 1, we have 3 ties, numbered 1, 2 and 3 respectively (order irrelevant). The notes in ending 2 would have<tied number="X" type="stop">, as would the notes in ending 1.In example 2, there's a single tie sonumberis strictly not needed. The note in ending 2 would have<tied type="continue">. Although I would recommend adding anumberto help importers understand the situation.Sorry, I misread the documentation. There's an explicit passage about th…