Open lemzwerg opened 2 months ago
What is the default length of such a 'single beat' if
<slash-type>
/<slash-dot>
are not given?
I believe that it should follow the beat pattern of the time signature.
The documentation for
<slash-type>
: The element indicates the graphical note type to use for the display of repetition marks.
This is, in fact correct for the shape of stems if use-stems is "yes" but not if use-stems="no" as in most of the examples. Agreed that the wording could be improved.
Note that both here and in tablature stem display there is not as much configurability of how to display half-note stems and whole-note "stems".
How would I do (5/8):
I do not believe that this is possible in the current spec.
I was hoping that the DTD would be completely removed by now, but alas, it will need to wait for MusicXML 5.0, since it would be easier to bring in <duration>
from the <note>
module, rather than create a <slash-duration>
as the DTD will probably need to avoid conflicts. But I think that this would be the way to go for now: allow for <slash-duration>DIVISIONS</slash-duration>
to be clearer.
There also does not seem to be a way of specifying a regular repeating pattern of durations like a "3/8 + 2/8 + 3/8" subdivision of 8/8.
I'm capturing these ideas -- the documentation generator from MNX is developing and we should have all the musicxml tooling back up soon.
I believe that it should follow the beat pattern of the time signature.
I'm not sure that this really works. What is the beat pattern of 5/8? 2+3 or 3+2? I know that MusicXML doesn't support this right now (and probably never will be), but if you want to rely on the time signature the probably only valid solution is to set up a table that defines the beat patterns, declaring that for all time signatures not in the table the default beat length is unspecified. I think this would be very ugly.
This is, in fact correct for the shape of stems if use-stems is "yes"
Nope. I was talking about <beat-repeat>
, which doesn't have a use-stems
attribute...
I believe that it should follow the beat pattern of the time signature.
I've meanwhile discovered issue #321, which mentions exactly that. However, looking into the repository, this information is only part of the 'slash group' documentation string in musicxml.xsd
– it is not part of the online documentation of <slash>
! No wonder that I've missed it. I suggest to extend the description accordingly.
So my assumpion was wrong, and it actually is necessary to set up such a table – this could be combined with an explanation what values for beat lengths are possible in MusicXML, and which are not.
Good catch - that phrase "the beat is based on the current time signature" or something like it should be added to the beat-repeat and slash element documentation. Thanks!
We might want to see if there are other bits of missing documentation from xs:group definitions that did not make it into the 4.0 spec, since we don't document groups there.
The documentation for
<beat-repeat>
saysWhat is the default length of such a 'single beat' if
<slash-type>
/<slash-dot>
are not given? I assume it's a quarter (as shown in the example), but this is not explicitly mentioned. Please clarify.The documentation for
<slash-type>
saysAFAICS, this description is wrong. The shape of a repeat slash is given by the
slashes
anduse-dots
properties of<beat-repeat>
, while<slash-type>
and<slash-dot>
actually give the length of the repeat pattern. If my conclusion is correct I suggest to fix the documentation accordingly. If I'm wrong please explain :slightly_smiling_face:Hmm. How can I do the following in MusicXML?
It seems I'm missing something...