MusicXML import ignores note attack and release timing attributes
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
Direzione di ricerca
Start by tracing MusicXML note import for the attack and release attributes, then follow how imported note timing reaches MIDI export. Use the one-bar example and its control without the attributes to compare note-on and note-off ticks at 480 ticks per quarter. Done means the exported MIDI reflects the specified timing changes while notated durations remain unchanged.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happens
MuseScore Studio 4.7.7 imports valid MusicXML 4.0 with attack and release on <note>, but the exported MIDI timing is identical to a control without these attributes. This one-bar original example has no ties, ottava lines, or cross-staff notation.
Reproduce
- Save the original example below as
performance.musicxmland open it in MuseScore Studio 4.7.7 on Windows. - Export MIDI. Remove the three
attack/releaseattributes in a copy, import that copy, and export MIDI again. - Compare the note-on and note-off ticks. The two MIDI files are byte-identical in this test, at 480 ticks per quarter.
| Event | Control and actual | Expected change relative to control |
|---|---|---|
| C4 off | 479 | 120 ticks earlier |
| E4 on | 480 | 120 ticks later |
| D4 off | 1439 | 120 ticks later |
A separate control with a staccato on C4 instead of these attributes moves its note-off to tick 239, so the MIDI export can represent and detect a timing change. The input files validate against the MusicXML 4.0 XSD. MusicXML 4.0 note reference: these attributes change playback timing independently, without changing notated durations.
Minimal example
<?xml version='1.0' encoding='utf-8'?>
<score-partwise version="4.0">
<part-list><score-part id="P1"><part-name>Piano</part-name></score-part></part-list>
<part id="P1"><measure number="1">
<attributes><divisions>480</divisions><time><beats>4</beats><beat-type>4</beat-type></time>
<clef><sign>G</sign><line>2</line></clef></attributes>
<note release="-120"><pitch><step>C</step><octave>4</octave></pitch><duration>480</duration><type>quarter</type></note><note attack="120"><pitch><step>E</step><octave>4</octave></pitch><duration>480</duration><type>quarter</type></note><note release="120"><pitch><step>D</step><octave>4</octave></pitch><duration>480</duration><type>quarter</type></note><note><pitch><step>G</step><octave>4</octave></pitch><duration>480</duration><type>quarter</type></note></measure></part>
</score-partwise>
Version
MuseScore Studio 4.7.7, b750c43e316cf6a00e70451870b231b12f400bda, Windows.
- Lingua principale
- C++
- Stelle
- 15.5k
- Fork
- 3.4k
- Merge medio
- 2g 18h
- PR unite (30g)
- 114
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di musescore/MuseScore
-
ninja_build.sh -t compile_commands fails: `cmake ..` points at build/ instead of the repo rootApertaneeds review regression MS4
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
I maintainer di solito rispondono entro 2 giorni
-
MusicXML export: overlapping dashed text lines (<dashes>) are all exported with duplicate number="1"Apertacommunity MusicXML
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 2 giorni
-
MusicXML import loses explicit slur direction when the stop precedes the start in document orderApertaneeds review
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
needs review
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
needs review
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
musescore/MuseScore#35683 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di musescore/MuseScore
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
component: tabs platform: macOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
zen-browser/desktop#16860 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
metasequoiaime/msime#12003 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
windirstat/windirstat#776 ·
I maintainer di solito rispondono entro 2 giorni