Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audiveris creates invalid MXL file #201

Closed
Guenther004 opened this issue Aug 27, 2018 · 16 comments
Closed

Audiveris creates invalid MXL file #201

Guenther004 opened this issue Aug 27, 2018 · 16 comments

Comments

@Guenther004
Copy link

Hi,

my Audiveris created an MXL file from transcribing a PDF, which could not be operend by MuseScore. The error message in MuseScore is: "Test.mxl is not a valid MusicXML file". When I click to show the details, it says:
"Fatal error: line 38 column 14 Element part-list is missing child element."

The Audiveris log file shows several warnings:

2018-08-27 19:16:18,179 INFO [] Main 338 | Environment:

  • Audiveris: 5.1.0:ec29281ee
  • OS: Windows 8.1 6.3
  • Architecture: amd64
  • Java VM: Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
  • OCR Engine: Tesseract OCR, version 3.04.01
    2018-08-27 19:16:18,195 INFO [] CLI 206 | CLI args: []
    2018-08-27 19:16:18,273 INFO [] AliasPatterns 143 | Alias patterns: [(IMSLP[0-9])-.]
    2018-08-27 19:16:18,445 INFO [] MainGui 504 | Audiveris version 5.1.0
    2018-08-27 19:16:18,445 INFO [] MainGui 505 |
    LogUtil. Property logback.configurationFile not defined, skipped.
    LogUtil. No C:\Users\Guenther\AppData\Roaming\AudiverisLtd\audiveris\config\logback.xml, skipped.
    LogUtil. Configuration found jar:file:/C:/Git/audiveris/Audiveris/lib/audiveris.jar!/res/logback.xml
    LogUtil. Logging to C:\Users\Guenther\AppData\Roaming\AudiverisLtd\audiveris\log\20180827T191617.log

2018-08-27 19:16:18,632 INFO [] PluginsManager 257 | No C:\Users\Guenther\AppData\Roaming\AudiverisLtd\audiveris\config\plugins.xml file found
2018-08-27 19:16:19,585 INFO [] BasicClassifier 391 | Classifier loaded XML norms.
2018-08-27 19:16:19,601 INFO [] AbstractClassifier 355 | Classifier data loaded from default uri jar:file:/C:/Git/audiveris/Audiveris/lib/audiveris.jar!/res/basic-classifier.zip
2018-08-27 19:18:59,185 INFO [] BookManager 499 | Found alias: IMSLP25979 for IMSLP25979-PMLP39443-Schubert_Lieder_Tief_LiedDerMignon
2018-08-27 19:18:59,278 INFO [IMSLP25979] BasicBook 498 | 2 sheets in C:\Users\Guenther\Downloads\IMSLP25979-PMLP39443-Schubert_Lieder_Tief_LiedDerMignon.tif
2018-08-27 19:18:59,435 WARN [IMSLP25979#1] BasicStub 614 | Error in performing [LOAD, BINARY] java.util.concurrent.ExecutionException: java.lang.NullPointerException
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at org.audiveris.omr.sheet.BasicStub.doOneStep(BasicStub.java:887)
at org.audiveris.omr.sheet.BasicStub.reachStep(BasicStub.java:601)
at org.audiveris.omr.sheet.ui.StubsController.checkStubStatus(StubsController.java:873)
at org.audiveris.omr.sheet.ui.StubsController.access$300(StubsController.java:91)
at org.audiveris.omr.sheet.ui.StubsController$3.call(StubsController.java:648)
at org.audiveris.omr.sheet.ui.StubsController$3.call(StubsController.java:639)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException: null
at com.github.jaiimageio.impl.plugins.tiff.TIFFLZWDecompressor.addStringToTable(TIFFLZWDecompressor.java:246)
at com.github.jaiimageio.impl.plugins.tiff.TIFFLZWDecompressor.decode(TIFFLZWDecompressor.java:183)
at com.github.jaiimageio.impl.plugins.tiff.TIFFLZWDecompressor.decodeRaw(TIFFLZWDecompressor.java:131)
at com.github.jaiimageio.plugins.tiff.TIFFDecompressor.decode(TIFFDecompressor.java:2583)
at com.github.jaiimageio.impl.plugins.tiff.TIFFImageReader.decodeTile(TIFFImageReader.java:1144)
at com.github.jaiimageio.impl.plugins.tiff.TIFFImageReader.read(TIFFImageReader.java:1414)
at javax.imageio.ImageReader.read(ImageReader.java:939)
at org.audiveris.omr.image.ImageLoading$ImageIOLoader.getImage(ImageLoading.java:373)
at org.audiveris.omr.sheet.BasicBook.loadSheetImage(BasicBook.java:1027)
at org.audiveris.omr.step.LoadStep.doit(LoadStep.java:71)
at org.audiveris.omr.step.Step.doit(Step.java:184)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:877)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:865)
... 4 common frames omitted
2018-08-27 19:19:25,668 INFO [] BookManager 499 | Found alias: IMSLP25979 for IMSLP25979-PMLP39443-Schubert_Lieder_Tief_LiedDerMignon
2018-08-27 19:19:25,749 INFO [IMSLP25979] BasicBook 498 | 2 sheets in C:\Users\Guenther\Downloads\IMSLP25979-PMLP39443-Schubert_Lieder_Tief_LiedDerMignon.pdf
2018-08-27 19:19:26,289 INFO [IMSLP25979#1] BasicBook 1028 | Loaded image 1 2483x3366 from C:\Users\Guenther\Downloads\IMSLP25979-PMLP39443-Schubert_Lieder_Tief_LiedDerMignon.pdf
2018-08-27 19:19:34,462 INFO [IMSLP25979] BasicBook 1113 | Book reaching PAGE on sheets:[#1#2]
2018-08-27 19:19:34,511 INFO [IMSLP25979#1] ScaleStep 87 | Scale{line(4,5,7) interline(19,20,21) beam(14)}
2018-08-27 19:19:36,087 INFO [IMSLP25979#1] LinesRetriever 444 | Global slope: 0.00676
2018-08-27 19:19:36,178 INFO [IMSLP25979#1] ClustersRetriever 242 | Retrieved line clusters: 15 of size: 5 with interline: (19,20,21)
2018-08-27 19:19:39,805 INFO [IMSLP25979#1] PeakGraph 181 | Systems: #1[1, 2, 3] #2[4, 5, 6] #3[7, 8, 9] #4[10, 11, 12] #5[13, 14] #6[15]
2018-08-27 19:19:39,963 INFO [IMSLP25979#1] BarsRetriever 919 | No brace partner at level:1 for Peak{78-95 F#3787 T#14 [BRACE]}
2018-08-27 19:19:44,191 INFO [IMSLP25979#1] SystemManager 662 | Indentation detected for system#1
2018-08-27 19:19:44,194 INFO [IMSLP25979#1] SystemManager 745 | 2 parts along 6 systems
2018-08-27 19:19:46,368 INFO [IMSLP25979#1] StemSeedsStep 92 | stem(5 max:7)
2018-08-27 19:19:55,257 INFO [IMSLP25979#1] BlackHeadSizer 99 | Spots black-head retrieval diameter: 18.0
2018-08-27 19:19:56,377 INFO [IMSLP25979#1] BlackHeadSizer 251 | Core black head count: 104 blackHead(width:27.20.4 height:24.70.9)
2018-08-27 19:19:56,385 INFO [IMSLP25979#1] BlackHeadSizer 256 | MusicFont{name:MusicalSymbols pointSize:91}
2018-08-27 19:19:58,239 INFO [IMSLP25979#1] BeamsStep 89 | BeamDistance{count:20 mean:9.41 stdDev:10.11}
2018-08-27 19:21:23,630 INFO [IMSLP25979#1] Page 260 | 22 raw measures: [4 in system#1, 6 in system#2, 5 in system#3, 5 in system#4, 1 in system#5, 1 in system#6]
2018-08-27 19:21:23,650 INFO [IMSLP25979#1] ChordsBuilder 282 | Deleting StemInter{#6079(0.743/0.807)} on RIGHT side of HeadInter{#3033(0.627/0.803) s:2 p:4.00 NOTEHEAD_BLACK}
2018-08-27 19:21:23,670 INFO [IMSLP25979#1] ChordsBuilder 282 | Deleting StemInter{#6119(0.495/0.575)} on RIGHT side of HeadInter{#3091(0.554/0.810) s:2 p:8.00 NOTEHEAD_BLACK}
2018-08-27 19:21:23,820 INFO [IMSLP25979#1] ChordsBuilder 282 | Deleting StemInter{#6416(0.701/0.868)} on LEFT side of HeadInter{#4201(0.733/0.895) s:8 p:5.00 NOTEHEAD_BLACK}
2018-08-27 19:21:38,853 INFO [IMSLP25979#1] SlursBuilder 157 | Slurs: 44
2018-08-27 19:21:40,493 INFO [IMSLP25979#1] SegmentsBuilder 114 | Segments: 41
2018-08-27 19:21:42,259 INFO [IMSLP25979#1] SymbolsBuilder 341 | Symbol parts shrunk from 10 to 7
2018-08-27 19:21:43,178 INFO [IMSLP25979#1] SymbolsBuilder 341 | Symbol parts shrunk from 10 to 7
2018-08-27 19:21:45,954 INFO [IMSLP25979#1] SymbolsBuilder 341 | Symbol parts shrunk from 47 to 7
2018-08-27 19:21:47,456 INFO [IMSLP25979#1] SymbolsBuilder 341 | Symbol parts shrunk from 63 to 7
2018-08-27 19:21:48,279 WARN [IMSLP25979#1] AbstractSystemStep 201 | S3 java.lang.NullPointerException
java.lang.NullPointerException: null
at org.audiveris.omr.sig.inter.Inters$3.compare(Inters.java:95)
at org.audiveris.omr.sig.inter.Inters$3.compare(Inters.java:90)
at java.util.TimSort.binarySort(TimSort.java:296)
at java.util.TimSort.sort(TimSort.java:239)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.ArrayList.sort(ArrayList.java:1462)
at java.util.Collections.sort(Collections.java:175)
at org.audiveris.omr.sig.SigReducer.detectOverlaps(SigReducer.java:1337)
at org.audiveris.omr.sig.SigReducer.reduce(SigReducer.java:1659)
at org.audiveris.omr.sig.SigReducer.reduceLinks(SigReducer.java:220)
at org.audiveris.omr.sheet.symbol.LinksStep.doSystem(LinksStep.java:110)
at org.audiveris.omr.sheet.symbol.LinksStep.doSystem(LinksStep.java:60)
at org.audiveris.omr.step.AbstractSystemStep$1.call(AbstractSystemStep.java:199)
at org.audiveris.omr.step.AbstractSystemStep$1.call(AbstractSystemStep.java:182)
at org.audiveris.omr.step.AbstractSystemStep.doitPerSystem(AbstractSystemStep.java:220)
at org.audiveris.omr.step.AbstractSystemStep.doit(AbstractSystemStep.java:106)
at org.audiveris.omr.step.Step.doit(Step.java:184)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:877)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:865)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-08-27 19:21:48,309 WARN [IMSLP25979#1] AbstractSystemStep 201 | S4 java.lang.NullPointerException
java.lang.NullPointerException: null
at org.audiveris.omr.sig.inter.Inters$3.compare(Inters.java:95)
at org.audiveris.omr.sig.inter.Inters$3.compare(Inters.java:90)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:360)
at java.util.TimSort.sort(TimSort.java:234)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.ArrayList.sort(ArrayList.java:1462)
at java.util.Collections.sort(Collections.java:175)
at org.audiveris.omr.sig.SigReducer.detectOverlaps(SigReducer.java:1337)
at org.audiveris.omr.sig.SigReducer.reduce(SigReducer.java:1659)
at org.audiveris.omr.sig.SigReducer.reduceLinks(SigReducer.java:220)
at org.audiveris.omr.sheet.symbol.LinksStep.doSystem(LinksStep.java:110)
at org.audiveris.omr.sheet.symbol.LinksStep.doSystem(LinksStep.java:60)
at org.audiveris.omr.step.AbstractSystemStep$1.call(AbstractSystemStep.java:199)
at org.audiveris.omr.step.AbstractSystemStep$1.call(AbstractSystemStep.java:182)
at org.audiveris.omr.step.AbstractSystemStep.doitPerSystem(AbstractSystemStep.java:220)
at org.audiveris.omr.step.AbstractSystemStep.doit(AbstractSystemStep.java:106)
at org.audiveris.omr.step.Step.doit(Step.java:184)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:877)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:865)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-08-27 19:21:48,367 INFO [IMSLP25979#1] LyricItemInter 301 | No head-chord for LyricItemInter{#7283(0.627) s:15 "Edition" Syllable}
2018-08-27 19:21:48,392 WARN [IMSLP25979#1] Measure 611 | No clef found in {Staff id=9 left:116 right:2234} before java.awt.Point[x=1522,y=2055]
2018-08-27 19:21:48,410 WARN [IMSLP25979#1] BasicStub 614 | Error in performing [SCALE, GRID, HEADERS, STEM_SEEDS, BEAMS, LEDGERS, HEADS, STEMS, REDUCTION, CUE_BEAMS, TEXTS, MEASURES, CHORDS, CURVES, SYMBOLS, LINKS, RHYTHMS, PAGE] java.util.concurrent.ExecutionException: java.lang.IllegalStateException: No clef found in {Staff id=9 left:116 right:2234} before java.awt.Point[x=1522,y=2055]
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: No clef found in {Staff id=9 left:116 right:2234} before java.awt.Point[x=1522,y=2055]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at org.audiveris.omr.sheet.BasicStub.doOneStep(BasicStub.java:887)
at org.audiveris.omr.sheet.BasicStub.reachStep(BasicStub.java:601)
at org.audiveris.omr.sheet.BasicBook.reachBookStep(BasicBook.java:1180)
at org.audiveris.omr.sheet.BasicBook.transcribe(BasicBook.java:1553)
at org.audiveris.omr.sheet.ui.BookActions$TranscribeBookTask.doInBackground(BookActions.java:2064)
at org.audiveris.omr.sheet.ui.BookActions$TranscribeBookTask.doInBackground(BookActions.java:2041)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: No clef found in {Staff id=9 left:116 right:2234} before java.awt.Point[x=1522,y=2055]
at org.audiveris.omr.sheet.rhythm.Measure.getClefBefore(Measure.java:612)
at org.audiveris.omr.sig.inter.AbstractNoteInter.getStep(AbstractNoteInter.java:245)
at org.audiveris.omr.sig.inter.HeadInter.haveSameHeight(HeadInter.java:411)
at org.audiveris.omr.sig.inter.SlurInter.checkStaffTie(SlurInter.java:409)
at org.audiveris.omr.sheet.symbol.LinksStep.doEpilog(LinksStep.java:197)
at org.audiveris.omr.sheet.symbol.LinksStep.doEpilog(LinksStep.java:60)
at org.audiveris.omr.step.AbstractSystemStep.doit(AbstractSystemStep.java:109)
at org.audiveris.omr.step.Step.doit(Step.java:184)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:877)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:865)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
... 3 common frames omitted
2018-08-27 19:21:49,987 INFO [IMSLP25979#2] BasicBook 1028 | Loaded image 2 2483x3366 from C:\Users\Guenther\Downloads\IMSLP25979-PMLP39443-Schubert_Lieder_Tief_LiedDerMignon.pdf
2018-08-27 19:21:52,538 INFO [IMSLP25979#2] ScaleStep 87 | Scale{line(3,4,6) interline(19,20,21) beam(13)}
2018-08-27 19:21:55,717 INFO [IMSLP25979#2] LinesRetriever 444 | Global slope: -0.00203
2018-08-27 19:21:55,967 INFO [IMSLP25979#2] ClustersRetriever 242 | Retrieved line clusters: 16 of size: 5 with interline: (19,20,21)
2018-08-27 19:22:02,359 INFO [IMSLP25979#2] PeakGraph 181 | Systems: #1[1, 2, 3] #2[4, 5, 6] #3[7, 8, 9] #4[10, 11, 12] #5[13, 14, 15] #6[16]
2018-08-27 19:22:10,811 INFO [IMSLP25979#2] SystemManager 745 | 2 parts along 6 systems
2018-08-27 19:22:16,038 INFO [IMSLP25979#2] StemSeedsStep 92 | stem(5 max:7)
2018-08-27 19:22:33,308 INFO [IMSLP25979#2] BlackHeadSizer 99 | Spots black-head retrieval diameter: 18.0
2018-08-27 19:22:35,301 INFO [IMSLP25979#2] BlackHeadSizer 251 | Core black head count: 98 blackHead(width:27.40.5 height:24.41.0)
2018-08-27 19:22:35,304 INFO [IMSLP25979#2] BlackHeadSizer 256 | MusicFont{name:MusicalSymbols pointSize:92}
2018-08-27 19:22:38,114 INFO [IMSLP25979#2] BeamsStep 89 | BeamDistance{count:56 mean:14.17 stdDev:7.03}
2018-08-27 19:23:42,277 INFO [IMSLP25979#2] Page 260 | 16 raw measures: [2 in system#1, 2 in system#2, 2 in system#3, 4 in system#4, 5 in system#5, 1 in system#6]
2018-08-27 19:23:42,367 INFO [IMSLP25979#2] ChordsLinker 121 | BeamInter{#2516(0.509/0.927)} Overlapping 0.8275862068965517 HeadChordInter{#9615(0.788) dur:1/16} vs HeadChordInter{#9600(0.856) s:14 dur:1/16}
2018-08-27 19:23:42,372 INFO [IMSLP25979#2] ChordsLinker 145 | HeadChordInter{#9600(0.856) s:14 dur:1/16} disconnected from BeamInter{#2516(0.509/0.927)}
2018-08-27 19:23:42,424 WARN [IMSLP25979#2] AbstractSystemStep 201 | S5 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
at org.audiveris.omr.sheet.beam.BeamGroup$Splitter.detectPivotChord(BeamGroup.java:874)
at org.audiveris.omr.sheet.beam.BeamGroup$Splitter.process(BeamGroup.java:827)
at org.audiveris.omr.sheet.beam.BeamGroup.split(BeamGroup.java:751)
at org.audiveris.omr.sheet.beam.BeamGroup.checkBeamGroups(BeamGroup.java:582)
at org.audiveris.omr.sheet.beam.BeamGroup.populate(BeamGroup.java:417)
at org.audiveris.omr.sheet.note.ChordsLinker.linkChords(ChordsLinker.java:167)
at org.audiveris.omr.sheet.note.ChordsStep.doSystem(ChordsStep.java:102)
at org.audiveris.omr.sheet.note.ChordsStep.doSystem(ChordsStep.java:55)
at org.audiveris.omr.step.AbstractSystemStep$1.call(AbstractSystemStep.java:199)
at org.audiveris.omr.step.AbstractSystemStep$1.call(AbstractSystemStep.java:182)
at org.audiveris.omr.step.AbstractSystemStep.doitPerSystem(AbstractSystemStep.java:220)
at org.audiveris.omr.step.AbstractSystemStep.doit(AbstractSystemStep.java:106)
at org.audiveris.omr.step.Step.doit(Step.java:184)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:877)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:865)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-08-27 19:23:57,307 INFO [IMSLP25979#2] SlursBuilder 157 | Slurs: 40
2018-08-27 19:24:01,275 INFO [IMSLP25979#2] SegmentsBuilder 114 | Segments: 62
2018-08-27 19:24:03,652 INFO [IMSLP25979#2] SymbolsBuilder 341 | Symbol parts shrunk from 12 to 7
2018-08-27 19:24:05,179 INFO [IMSLP25979#2] SymbolsBuilder 341 | Symbol parts shrunk from 8 to 7
2018-08-27 19:24:06,161 INFO [IMSLP25979#2] SymbolsBuilder 341 | Symbol parts shrunk from 17 to 7
2018-08-27 19:24:06,267 INFO [IMSLP25979#2] SymbolsBuilder 341 | Symbol parts shrunk from 23 to 7
2018-08-27 19:24:06,550 INFO [IMSLP25979#2] LyricItemInter 301 | No head-chord for LyricItemInter{#8992(0.474) s:1 "r—î—1" Syllable}
2018-08-27 19:24:06,559 INFO [IMSLP25979#2] LyricItemInter 301 | No head-chord for LyricItemInter{#8993(0.548) s:1 "("" Syllable}
2018-08-27 19:24:06,562 INFO [IMSLP25979#2] LyricItemInter 301 | No head-chord for LyricItemInter{#8995(0.548) s:1 "—l" Syllable}
2018-08-27 19:24:06,565 INFO [IMSLP25979#2] LyricItemInter 301 | No head-chord for LyricItemInter{#8996(0.387) s:1 "r——ä—?Es" Syllable}
2018-08-27 19:24:06,568 WARN [IMSLP25979#2] AbstractSystemStep 201 | S1 java.lang.NullPointerException
java.lang.NullPointerException: null
at org.audiveris.omr.sig.inter.Inters$3.compare(Inters.java:95)
at org.audiveris.omr.sig.inter.Inters$3.compare(Inters.java:90)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:360)
at java.util.TimSort.sort(TimSort.java:234)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.ArrayList.sort(ArrayList.java:1462)
at java.util.Collections.sort(Collections.java:175)
at org.audiveris.omr.sig.SigReducer.detectOverlaps(SigReducer.java:1337)
at org.audiveris.omr.sig.SigReducer.reduce(SigReducer.java:1659)
at org.audiveris.omr.sig.SigReducer.reduceLinks(SigReducer.java:220)
at org.audiveris.omr.sheet.symbol.LinksStep.doSystem(LinksStep.java:110)
at org.audiveris.omr.sheet.symbol.LinksStep.doSystem(LinksStep.java:60)
at org.audiveris.omr.step.AbstractSystemStep$1.call(AbstractSystemStep.java:199)
at org.audiveris.omr.step.AbstractSystemStep$1.call(AbstractSystemStep.java:182)
at org.audiveris.omr.step.AbstractSystemStep.doitPerSystem(AbstractSystemStep.java:220)
at org.audiveris.omr.step.AbstractSystemStep.doit(AbstractSystemStep.java:106)
at org.audiveris.omr.step.Step.doit(Step.java:184)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:877)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:865)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-08-27 19:24:06,636 WARN [IMSLP25979#2] AbstractSystemStep 201 | S2 java.lang.NullPointerException
java.lang.NullPointerException: null
at org.audiveris.omr.sig.inter.Inters$3.compare(Inters.java:95)
at org.audiveris.omr.sig.inter.Inters$3.compare(Inters.java:90)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:360)
at java.util.TimSort.sort(TimSort.java:234)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.ArrayList.sort(ArrayList.java:1462)
at java.util.Collections.sort(Collections.java:175)
at org.audiveris.omr.sig.SigReducer.detectOverlaps(SigReducer.java:1337)
at org.audiveris.omr.sig.SigReducer.reduce(SigReducer.java:1659)
at org.audiveris.omr.sig.SigReducer.reduceLinks(SigReducer.java:220)
at org.audiveris.omr.sheet.symbol.LinksStep.doSystem(LinksStep.java:110)
at org.audiveris.omr.sheet.symbol.LinksStep.doSystem(LinksStep.java:60)
at org.audiveris.omr.step.AbstractSystemStep$1.call(AbstractSystemStep.java:199)
at org.audiveris.omr.step.AbstractSystemStep$1.call(AbstractSystemStep.java:182)
at org.audiveris.omr.step.AbstractSystemStep.doitPerSystem(AbstractSystemStep.java:220)
at org.audiveris.omr.step.AbstractSystemStep.doit(AbstractSystemStep.java:106)
at org.audiveris.omr.step.Step.doit(Step.java:184)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:877)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:865)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-08-27 19:24:06,891 WARN [IMSLP25979#2] AbstractSystemStep 201 | S5 java.lang.NullPointerException
java.lang.NullPointerException: null
2018-08-27 19:24:06,896 INFO [IMSLP25979#2] LyricItemInter 301 | No head-chord for LyricItemInter{#9307(0.610) s:16 "Edition" Syllable}
2018-08-27 19:24:06,957 WARN [IMSLP25979#2] Measure 611 | No clef found in {Staff id=3 left:214 right:2337} before java.awt.Point[x=1295,y=604]
2018-08-27 19:24:06,987 WARN [IMSLP25979#2] BasicStub 614 | Error in performing [LOAD, BINARY, SCALE, GRID, HEADERS, STEM_SEEDS, BEAMS, LEDGERS, HEADS, STEMS, REDUCTION, CUE_BEAMS, TEXTS, MEASURES, CHORDS, CURVES, SYMBOLS, LINKS, RHYTHMS, PAGE] java.util.concurrent.ExecutionException: java.lang.IllegalStateException: No clef found in {Staff id=3 left:214 right:2337} before java.awt.Point[x=1295,y=604]
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: No clef found in {Staff id=3 left:214 right:2337} before java.awt.Point[x=1295,y=604]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at org.audiveris.omr.sheet.BasicStub.doOneStep(BasicStub.java:887)
at org.audiveris.omr.sheet.BasicStub.reachStep(BasicStub.java:601)
at org.audiveris.omr.sheet.BasicBook.reachBookStep(BasicBook.java:1180)
at org.audiveris.omr.sheet.BasicBook.transcribe(BasicBook.java:1553)
at org.audiveris.omr.sheet.ui.BookActions$TranscribeBookTask.doInBackground(BookActions.java:2064)
at org.audiveris.omr.sheet.ui.BookActions$TranscribeBookTask.doInBackground(BookActions.java:2041)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: No clef found in {Staff id=3 left:214 right:2337} before java.awt.Point[x=1295,y=604]
at org.audiveris.omr.sheet.rhythm.Measure.getClefBefore(Measure.java:612)
at org.audiveris.omr.sig.inter.AbstractNoteInter.getStep(AbstractNoteInter.java:245)
at org.audiveris.omr.sig.inter.HeadInter.haveSameHeight(HeadInter.java:411)
at org.audiveris.omr.sig.inter.SlurInter.checkStaffTie(SlurInter.java:409)
at org.audiveris.omr.sheet.symbol.LinksStep.doEpilog(LinksStep.java:197)
at org.audiveris.omr.sheet.symbol.LinksStep.doEpilog(LinksStep.java:60)
at org.audiveris.omr.step.AbstractSystemStep.doit(AbstractSystemStep.java:109)
at org.audiveris.omr.step.Step.doit(Step.java:184)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:877)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:865)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
... 3 common frames omitted
2018-08-27 19:24:07,013 INFO [IMSLP25979] BasicBook 1234 | Scores built: 1
2018-08-27 19:27:46,937 INFO [IMSLP25979] BasicBook 1113 | Book reaching PAGE on sheets:[#1#2]
2018-08-27 19:27:46,968 WARN [IMSLP25979#1] AbstractSystemStep 201 | S3 java.lang.NullPointerException
java.lang.NullPointerException: null
2018-08-27 19:27:46,968 WARN [IMSLP25979#1] AbstractSystemStep 201 | S4 java.lang.NullPointerException
java.lang.NullPointerException: null
2018-08-27 19:27:46,983 INFO [IMSLP25979#1] LyricItemInter 301 | No head-chord for LyricItemInter{#7283(0.627/0.627) s:15 "Edition" Syllable}
2018-08-27 19:27:46,983 WARN [IMSLP25979#1] Measure 611 | No clef found in {Staff id=9 left:116 right:2234} before java.awt.Point[x=1522,y=2055]
2018-08-27 19:27:46,983 WARN [IMSLP25979#1] BasicStub 614 | Error in performing [LINKS, RHYTHMS, PAGE] java.util.concurrent.ExecutionException: java.lang.IllegalStateException: No clef found in {Staff id=9 left:116 right:2234} before java.awt.Point[x=1522,y=2055]
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: No clef found in {Staff id=9 left:116 right:2234} before java.awt.Point[x=1522,y=2055]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at org.audiveris.omr.sheet.BasicStub.doOneStep(BasicStub.java:887)
at org.audiveris.omr.sheet.BasicStub.reachStep(BasicStub.java:601)
at org.audiveris.omr.sheet.BasicBook.reachBookStep(BasicBook.java:1180)
at org.audiveris.omr.sheet.BasicBook.transcribe(BasicBook.java:1553)
at org.audiveris.omr.sheet.BasicBook.export(BasicBook.java:629)
at org.audiveris.omr.sheet.ui.BookActions$ExportBookTask.doInBackground(BookActions.java:1881)
at org.audiveris.omr.sheet.ui.BookActions$ExportBookTask.doInBackground(BookActions.java:1851)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: No clef found in {Staff id=9 left:116 right:2234} before java.awt.Point[x=1522,y=2055]
at org.audiveris.omr.sheet.rhythm.Measure.getClefBefore(Measure.java:612)
at org.audiveris.omr.sig.inter.AbstractNoteInter.getStep(AbstractNoteInter.java:245)
at org.audiveris.omr.sig.inter.HeadInter.haveSameHeight(HeadInter.java:411)
at org.audiveris.omr.sig.inter.SlurInter.checkStaffTie(SlurInter.java:409)
at org.audiveris.omr.sheet.symbol.LinksStep.doEpilog(LinksStep.java:197)
at org.audiveris.omr.sheet.symbol.LinksStep.doEpilog(LinksStep.java:60)
at org.audiveris.omr.step.AbstractSystemStep.doit(AbstractSystemStep.java:109)
at org.audiveris.omr.step.Step.doit(Step.java:184)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:877)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:865)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
... 3 common frames omitted
2018-08-27 19:27:47,061 INFO [IMSLP25979#2] LyricItemInter 301 | No head-chord for LyricItemInter{#8992(0.474) s:1 "r—î—1" Syllable}
2018-08-27 19:27:47,061 INFO [IMSLP25979#2] LyricItemInter 301 | No head-chord for LyricItemInter{#8993(0.548) s:1 "("" Syllable}
2018-08-27 19:27:47,077 INFO [IMSLP25979#2] LyricItemInter 301 | No head-chord for LyricItemInter{#8995(0.548) s:1 "—l" Syllable}
2018-08-27 19:27:47,077 INFO [IMSLP25979#2] LyricItemInter 301 | No head-chord for LyricItemInter{#8996(0.387) s:1 "r——ä—?Es" Syllable}
2018-08-27 19:27:47,077 WARN [IMSLP25979#2] AbstractSystemStep 201 | S1 java.lang.NullPointerException
java.lang.NullPointerException: null
2018-08-27 19:27:47,077 WARN [IMSLP25979#2] AbstractSystemStep 201 | S2 java.lang.NullPointerException
java.lang.NullPointerException: null
2018-08-27 19:27:47,124 WARN [IMSLP25979#2] AbstractSystemStep 201 | S5 java.lang.NullPointerException
java.lang.NullPointerException: null
2018-08-27 19:27:47,124 INFO [IMSLP25979#2] LyricItemInter 301 | No head-chord for LyricItemInter{#9307(0.610/0.610) s:16 "Edition" Syllable}
2018-08-27 19:27:47,124 WARN [IMSLP25979#2] Measure 611 | No clef found in {Staff id=3 left:214 right:2337} before java.awt.Point[x=1295,y=604]
2018-08-27 19:27:47,124 WARN [IMSLP25979#2] BasicStub 614 | Error in performing [LINKS, RHYTHMS, PAGE] java.util.concurrent.ExecutionException: java.lang.IllegalStateException: No clef found in {Staff id=3 left:214 right:2337} before java.awt.Point[x=1295,y=604]
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: No clef found in {Staff id=3 left:214 right:2337} before java.awt.Point[x=1295,y=604]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at org.audiveris.omr.sheet.BasicStub.doOneStep(BasicStub.java:887)
at org.audiveris.omr.sheet.BasicStub.reachStep(BasicStub.java:601)
at org.audiveris.omr.sheet.BasicBook.reachBookStep(BasicBook.java:1180)
at org.audiveris.omr.sheet.BasicBook.transcribe(BasicBook.java:1553)
at org.audiveris.omr.sheet.BasicBook.export(BasicBook.java:629)
at org.audiveris.omr.sheet.ui.BookActions$ExportBookTask.doInBackground(BookActions.java:1881)
at org.audiveris.omr.sheet.ui.BookActions$ExportBookTask.doInBackground(BookActions.java:1851)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: No clef found in {Staff id=3 left:214 right:2337} before java.awt.Point[x=1295,y=604]
at org.audiveris.omr.sheet.rhythm.Measure.getClefBefore(Measure.java:612)
at org.audiveris.omr.sig.inter.AbstractNoteInter.getStep(AbstractNoteInter.java:245)
at org.audiveris.omr.sig.inter.HeadInter.haveSameHeight(HeadInter.java:411)
at org.audiveris.omr.sig.inter.SlurInter.checkStaffTie(SlurInter.java:409)
at org.audiveris.omr.sheet.symbol.LinksStep.doEpilog(LinksStep.java:197)
at org.audiveris.omr.sheet.symbol.LinksStep.doEpilog(LinksStep.java:60)
at org.audiveris.omr.step.AbstractSystemStep.doit(AbstractSystemStep.java:109)
at org.audiveris.omr.step.Step.doit(Step.java:184)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:877)
at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:865)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
... 3 common frames omitted
2018-08-27 19:27:47,186 INFO [IMSLP25979] ScoreExporter 93 | Score mignon exported to C:\Temp\mignon.mxl

Any clue what I am doing wrong?
Thanks and regards,
Guenther

@Bacchushlg
Copy link
Collaborator

Please save the session (Ctlr-S) and upload the created omr-file here (need to zip it before!)

@Guenther004
Copy link
Author

Guenther004 commented Aug 28, 2018 via email

@bork77
Copy link

bork77 commented Aug 28, 2018

Hello,

I have a similar error :
In MuseScore 2 : Fatal error: line 35 column 14 Element part-list is missing child element.

If it can help you to fix that, you could find enclosed a bugged file.

Regards and thanks for that great job.
Emmanuel.

Desktop.zip

@Bacchushlg
Copy link
Collaborator

I have just checked the file "Desktop": And I get the described error when loading the XML file with MuseScore.
Then I have re-exported the book with the latest version of Audiveris - and I get the file loaded.
So, please try again with the latest version (of branch "development"), version 5.1.0:9fa751d43.

When working with Windows, you may also try the new installer:
https://github.com/Audiveris/audiveris/releases

@Guenther004
Copy link
Author

Hi Bacchus,

thanks for your hint. I followed your recommendation and installed the latest version of Audiveris using the Windows installer. Good stuff, makes things much much easier... ;-)

The result is that MuseScore still throws an error "File corrupted", but is now capable to load the MXL.

So far so good. Unfortunately the OMR result is not soooo good...

If you like you can check the result, I put the OMR and the MXL here.

Anyhow, I am one step further than before. So thanks a lot!

Kind regards,
Guenther
Mignon.zip

@Bacchushlg
Copy link
Collaborator

This score is of rather bad quality. This leads especially to a problem in the last system: the staff lines are not properly detected.
What you can try is improving the source image by using a gaussian blur and then lighten up a little. This worked for me in similar cases (if you upload your image, I can try it for you...)

@Bacchushlg
Copy link
Collaborator

mignon 1-filtered

I was able to improve the first page so that the analyses works rather fine now (still a little manual works that rests....).
But for the 2nd page I cannot help... Please try a better scan.

@hbitteur
Copy link
Contributor

hbitteur commented Sep 6, 2018

@bork77
I just checked your Desktop example.
The .mxl file is almost empty, hence Musescore complains about it.

But taking your own .omr file with no modification and simply asking for export, I got a much bigger .mxl file that Musescore and other editors could read successfully. So the question is: how did you get your almost empty .mxl file?

@hbitteur
Copy link
Contributor

hbitteur commented Sep 6, 2018

@bork77
Another problem relates to beams that are not correctly detected in your Desktop example.

It originates in a poor detection of typical beam height (5 vs a more realistic 10 pixels). This results in beams detected as double-beams and in thinner beams not detected at all.

image

The problem lies in the current heuristic, which picks up the histogram peak at value 5 instead of the peak around value 10.
I will try to improve the beam peak detection. Stay tuned...

@hbitteur
Copy link
Contributor

hbitteur commented Sep 6, 2018

@bork77
Finally a slight tuning of minBeamFraction parameter from 2.5 to 2.75 (WRT interline) was enough to fix the case. All your beams are now correctly detected.
Done in commit 9e29876

@hbitteur hbitteur closed this as completed Sep 6, 2018
@bork77
Copy link

bork77 commented Sep 6, 2018

I finally find a solution :

with audiveris version 5.1.0:ec29281ee
I tried again with the same original pdf and had the same mxl error
I tried to resize the sheet with only music (without the title and the texts under the music ) and it works normally.

with audiveris version 5.1.0:9fa751d43.
I tried with the same original pdf. i have no error but rythm is bad
I tried to resize the sheet with only music (without the title and the texts under the music ) and it works normally.

You can find the two different files to compare.
Traditionnel - Le trente-et-un du mois d'août_biffé.pdf
Traditionnel - Le trente-et-un du mois d'août.pdf

@Bacchushlg
Copy link
Collaborator

would be really interesting to find the reason for this different analysis results. The scores seems to be identical - no differences in the resolution.

@Bacchushlg Bacchushlg reopened this Sep 6, 2018
@Bacchushlg
Copy link
Collaborator

seems that this issue is solved with the latest update. Transcription is ok now.

@ghost
Copy link

ghost commented Mar 23, 2019

Hi

Thanks for Audiveris, it has a lot of great features, and I would like to use as my go to software when transcribing from PDFs to MusicXML and from there to midi.

However I am facing the same issue as Guenther004 and I have followed the advice given here to use the latest version (of branch "development"), version 5.1.0:9fa751d43.

What I have done to remedy the problem is to open the PDF in Audiveris, extract the first sheet only to png, do some editing to add missing barlines due to poor quality and after opening the edited png Audiveris seems to recognize what has been edited. Doing the remaining corrections directly in Audiveris gives me what seems to be a perfect transcript without errors please look at the attached Norse.jpg

Norse

Exporting the book as MusicXML into Musescore results in a prompt saying the file is not valid. However I'm given the option to open it anyway and doing so makes Musescore crash.

What can I do to make it work so I can export it to a midi file?

Here is the MusicXML file (Please remove the txt extension):

IMSLP435394#2-ext - Kopi.mxl.txt

Here is the omr file (Please remove the txt extension):

IMSLP435394#2-ext.omr.txt

Thanks

@Bacchushlg
Copy link
Collaborator

I just loaded the omr file to my system into Audiveris and exported it with no editing.
I don't get your problem. It opens without problem in MuseScore V2 and V3.
Maybe you had used an "old" exported xml file?

@ghost
Copy link

ghost commented Mar 23, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants