Open lallafa opened 1 year ago
@lallafa Many apologies for such a late answer, I just got back from a hike of several weeks, without any computer in my backpack :-) I'm looking at your issue right now. Stay tuned.
@lallafa I could not reproduce the missing measures in your example. However, it helped me detect and fix bugs in time signatures, plus I could improve the handling of part names.
Please pull again from "development" branch, latest commit is cb9c903dd21392b30508a78e14ee45b04bd5aaf4 And keep me informed about this new version. Again, sorry for the delay.
No news on this issue. Should we close it?
@hbitteur sorry for responing late.
I still get the same missing measures. This are my steps:
I tried the same with a fresh working copy from "development" branch, latest commit is 1fe68335a with the same result: 16-development.mxl.zip 20230629T211307.log
I can start a debugger from Netbeans. Do you have any suggestions where i can start debugging (breakpoints)?
@lallafa We have a misunderstanding somewhere, but where?
I just retried the transcription from scratch. I simply corrected manually the "détaché" word, a missing natural sign in measure 5 and a missing half note in measure 2 and in measure 4. Nothing more. These corrections were not mandatory, but performed to ease the visual check of every measure in the first system. Then I ran Finale and Musescore on the exported MusicXML.
Snapshot from Finale:
Snapshot from Musescore:
The page layout of Musescore is different from Finale, but the logical content is the same: We can see every measure from measure 1 to measure 7.
Also, I manually checked the content of MusicXML, there is nothing special regarding measures 5 and 6 which in your display contain just a + sign and a whole rest. Here is the relevant excerpt of MusicXML file:
<!--=======================================================-->
<measure number="5" width="123">
<note default-x="12">
<pitch>
<step>B</step>
<alter>-1</alter>
<octave>3</octave>
</pitch>
<duration>1</duration>
<voice>1</voice>
<type>eighth</type>
<stem default-y="-47">down</stem>
<beam number="1">begin</beam>
</note>
<note default-x="26">
<pitch>
<step>F</step>
<octave>3</octave>
</pitch>
<duration>1</duration>
<voice>1</voice>
<type>eighth</type>
<stem default-y="-47">down</stem>
<beam number="1">continue</beam>
</note>
<note default-x="46">
<pitch>
<step>E</step>
<octave>3</octave>
</pitch>
<duration>1</duration>
<voice>1</voice>
<type>eighth</type>
<accidental>natural</accidental>
<stem default-y="-45">down</stem>
<beam number="1">continue</beam>
</note>
<note default-x="65">
<pitch>
<step>F</step>
<octave>3</octave>
</pitch>
<duration>1</duration>
<voice>1</voice>
<type>eighth</type>
<stem default-y="-44">down</stem>
<beam number="1">continue</beam>
</note>
<note default-x="82">
<pitch>
<step>G</step>
<octave>3</octave>
</pitch>
<duration>1</duration>
<voice>1</voice>
<type>eighth</type>
<stem default-y="-43">down</stem>
<beam number="1">continue</beam>
</note>
<note default-x="99">
<pitch>
<step>A</step>
<octave>3</octave>
</pitch>
<duration>1</duration>
<voice>1</voice>
<type>eighth</type>
<stem default-y="-42">down</stem>
<beam number="1">end</beam>
</note>
</measure>
<!--=======================================================-->
<measure number="6" width="122">
<note default-x="12">
<pitch>
<step>B</step>
<alter>-1</alter>
<octave>3</octave>
</pitch>
<duration>1</duration>
<voice>1</voice>
<type>eighth</type>
<stem default-y="-48">down</stem>
<beam number="1">begin</beam>
</note>
<note default-x="27">
<pitch>
<step>F</step>
<octave>3</octave>
</pitch>
<duration>1</duration>
<voice>1</voice>
<type>eighth</type>
<stem default-y="-48">down</stem>
<beam number="1">continue</beam>
</note>
<note default-x="48">
<pitch>
<step>E</step>
<octave>3</octave>
</pitch>
<duration>1</duration>
<voice>1</voice>
<type>eighth</type>
<accidental>natural</accidental>
<stem default-y="-46">down</stem>
<beam number="1">continue</beam>
</note>
<note default-x="64">
<pitch>
<step>F</step>
<octave>3</octave>
</pitch>
<duration>1</duration>
<voice>1</voice>
<type>eighth</type>
<stem default-y="-45">down</stem>
<beam number="1">continue</beam>
</note>
<note default-x="82">
<pitch>
<step>G</step>
<octave>3</octave>
</pitch>
<duration>1</duration>
<voice>1</voice>
<type>eighth</type>
<stem default-y="-44">down</stem>
<beam number="1">continue</beam>
</note>
<note default-x="99">
<pitch>
<step>A</step>
<octave>3</octave>
</pitch>
<duration>1</duration>
<voice>1</voice>
<type>eighth</type>
<stem default-y="-44">down</stem>
<beam number="1">end</beam>
</note>
</measure>
<!--=======================================================-->
I also tried with Primus and EasyABC, results are OK.
We can suspect a problem with the software used to read MusicXML on your side. Which software was it?
We can suspect a problem with the software used to read MusicXML on your side. Which software was it?
I'm stupid. The problem is in the exported MusicXML data:
<!--=======================================================-->
<measure number="5" width="123"></measure>
<!--=======================================================-->
<measure number="6" width="122"></measure>
<!--=======================================================-->
These measures are obviously empty.
Let's make sure we are using the same Audiveris code. Mine is the very last version on "development" branch, commit 1d4fa9d3eade318fda4cc59d39efc85ece1825d1
I can start a debugger from Netbeans. Do you have any suggestions where i can start debugging (breakpoints)?
In class PartwiseBuilder
, set a breakpoint in method processMeasure (Measure measure)
It is on line 1900.
Measure 5 and 6 are missing in the MusicXML export for this example:
I am using the latest version from the development branch (commit f3b495c23).
The full example is here:
book_and_musicxml.zip
This is the log outout: