You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AI-assisted (disclosure block included as described in AGENTS.md)
Current Behavior
Note
AI-authored disclosure (alphatab-ai-authored-v1)
Portions of this content were authored by an AI agent. The agent has read AGENTS.md and the human submitter accepts responsibility for
compliance with the rules in that document.
A MusicXML score with To Coda, D.C. al Coda and a Coda, written the way
MuseScore Studio exports them (the <sound> element as a child of <direction>), plays straight through. Of the three marks only the coda
symbol arrives in the score model:
If the very same <sound tocoda="coda1"/> and <sound dacapo="yes"/> elements
are moved out of <direction> and placed directly in <measure>, they are
imported (bars 2 and 3 get directions). So the jump attributes are only read
from a measure-level <sound>, not from the <direction>-level one that
notation programs write. (What happens after they are imported is a separate
report.)
Expected Behavior
Jump attributes on <sound> should be honoured in both positions. The MusicXML
schema allows <sound> as a child of <direction> and as a direct child of <measure> (https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/sound/),
and MuseScore, like the MusicXML examples, uses the <direction> form for
D.C., D.S., To Coda, Coda, Segno and Fine. Tempo from the same element is
already read in that position.
Expected for the file below: directions on bars 2 (to coda), 3 (da capo) and
4 (coda), and playback 1 2 3 1 2 4.
Steps To Reproduce
Save this as repro.musicxml or unzip the attached repro.zip (four whole notes; bar 2 is To Coda, bar 3
is D.C. al Coda, bar 4 is the Coda):
Load it with the player enabled (api.load('repro.musicxml')).
Inspect api.score.masterBars[i].directions and the playback order as
above, or press play: the piece plays bars 1–4 once, no da capo.
Optional: move each <sound .../> so it follows its </direction> as a
direct child of <measure>, reload, and see that bars 2 and 3 now carry
directions.
Related: once the attributes are imported, dacapo together with tocoda
plays to the end instead of jumping to the coda (#2860). Also
related, the ordering of a jump versus a repeat on the same bar (#2858).
Is there an existing issue for this?
I have read the contribution rules
AI authorship
AI-assisted (disclosure block included as described in AGENTS.md)
Current Behavior
Note
AI-authored disclosure (
alphatab-ai-authored-v1)Portions of this content were authored by an AI agent. The agent has read
AGENTS.md and the human submitter accepts responsibility for
compliance with the rules in that document.
A MusicXML score with To Coda, D.C. al Coda and a Coda, written the way
MuseScore Studio exports them (the
<sound>element as a child of<direction>), plays straight through. Of the three marks only the codasymbol arrives in the score model:
If the very same
<sound tocoda="coda1"/>and<sound dacapo="yes"/>elementsare moved out of
<direction>and placed directly in<measure>, they areimported (bars 2 and 3 get directions). So the jump attributes are only read
from a measure-level
<sound>, not from the<direction>-level one thatnotation programs write. (What happens after they are imported is a separate
report.)
Expected Behavior
Jump attributes on
<sound>should be honoured in both positions. The MusicXMLschema allows
<sound>as a child of<direction>and as a direct child of<measure>(https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/sound/),and MuseScore, like the MusicXML examples, uses the
<direction>form forD.C., D.S., To Coda, Coda, Segno and Fine. Tempo from the same element is
already read in that position.
Expected for the file below: directions on bars 2 (to coda), 3 (da capo) and
4 (coda), and playback
1 2 3 1 2 4.Steps To Reproduce
Save this as
repro.musicxmlor unzip the attached repro.zip (four whole notes; bar 2 is To Coda, bar 3is D.C. al Coda, bar 4 is the Coda):
Load it with the player enabled (
api.load('repro.musicxml')).Inspect
api.score.masterBars[i].directionsand the playback order asabove, or press play: the piece plays bars 1–4 once, no da capo.
Optional: move each
<sound .../>so it follows its</direction>as adirect child of
<measure>, reload, and see that bars 2 and 3 now carrydirections.
Link to jsFiddle, CodePen, Project
No response
Version and Environment
Platform
Web
Anything else?
Related: once the attributes are imported,
dacapotogether withtocodaplays to the end instead of jumping to the coda (#2860). Also
related, the ordering of a jump versus a repeat on the same bar (#2858).
repro.zip