Code Monkey home page Code Monkey logo

audiveris's People

Contributors

altonss avatar avm avatar bacchushlg avatar bpartridge avatar brian-math avatar chewi avatar clahey avatar hbitteur avatar kannebto avatar kortov avatar lazerwalker avatar maximumspatium avatar otradovec avatar per42 avatar raember avatar rensbloom avatar ryohang avatar stain avatar stweil avatar yours-truly-phil avatar zjw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

audiveris's Issues

No part for AugmentationDotInter

Dear all,

I have encountered an issue when transcribing certain sheets. The error goes as follows:

Error in RHYTHMS java.util.concurrent.ExecutionException: java.lang.illegalException: No part for AugmentationDotInter{#12202(0.760/0.760)}
Cause java.lang.IllegalStateException: No part for AugmentationDotInter{#12202(0.760/0.760)}
StepException detected in [RHYTHMS]
Cannot paint system#1

The error happens with specific pages of a score which are not different in symbolic vocabulary from the others, as far as I can tell. I'm running Audiveris (vanilla language pack) on a Mac with OSX High Sierra and JDK 8 (JKD 9 didn't seem to work).

I would greatly appreciate any help on the issue. I am even willing to bypass transcription of rhythm, as I need only the notes to be encoded (by the way, is there a way to bypass a transcription step?).

Kind regards,
Christian

Artiveris - articulations

Articulations are not included in mxl or omr files although detected and included in pdf files. Articulations are present in Audiveris-EG.

Regards

John

problem to recognize noteheads that stick together (same chord - second distance)

coharm - ein freund-stimmen-03

In the appended score there are several chords that have noteheads of a second distance. None of them is recognized, and most are detected as a complex structure containing both noteheads plus the stems.

If I manually correct the trioles, in some cases they assignement goes to the system above or below, in this score this happens in measure 55 top line.

Could not build Audiveris on Windows

I'm trying to get Audiveris to run on a Windows System but the gradle build aborts with this error:
FAILURE: Build failed with an exception.
What went wrong: Executione failed for task ':startScripts'.
Could bot resolve all files for coniguratione ':runtimeClasspath'. Could not find nd4j-native-windows-null.jar (org.nd4j:nd4j-native:0.8.0). Searched in the following locations: https://jcenter.bintray.com/org/nd4j/nd4j/-native/-0.8.0/nd4j-native-0.8.0-windows-null.jar
And so on.

Reducing CPU load

Building on Fedora Linux. Is there a way to reduce the number of CPU cores to only one throughout the gradle build process? So far the only method tried is gradle build --max-workers 1 but at some point this utilizes all CPU cores. Only utilizing one CPU core is preferable. The build process is long and CPU temperature is an issue.

NullPointerException

I'm trying to transcribe about 20 different works for which I have paper copies. For the first piece I tried, it worked perfectly and I got very excited. However, every piece since then has given me issues. I keep getting a warning, "Could not transcribe work". And most frustratingly, although I can get a PDF, I cannot export due to a NullPointerException.

WARN [El Desembre Congelat] BookActions 1940 | Could not transcribe book java.lang.NullPointerException: null at org.audiveris.omr.score.ScoreReduction.addPartList(ScoreReduction.java:180) at org.audiveris.omr.score.ScoreReduction.reduce(ScoreReduction.java:118) at org.audiveris.omr.sheet.BasicBook.reduceScores(BasicBook.java:1109) at org.audiveris.omr.sheet.BasicBook.transcribe(BasicBook.java:1448) at org.audiveris.omr.sheet.ui.BookActions$TranscribeBookTask.doInBackground(BookActions.java:1938) at org.audiveris.omr.sheet.ui.BookActions$TranscribeBookTask.doInBackground(BookActions.java:1915) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

And here's a reference to reproduce. I have tried scans of 1,200 DPI B&W to 600 DPI color. Nothing seems to fix this specific error. I was also getting some warning about Tesseract, but I resolved those by downloading all languages (this piece is not English).

El Desembre Congelat.pdf

Here's the full output from transcribing to trying to export.

INFO [El Desembre Congelat] BasicBook 427 | 8 sheets in /Users/hford/Desktop/El Desembre Congelat.pdf INFO [El Desembre Congelat#1] BasicBook 911 | Loaded image 1 2012x3148 from /Users/hford/Desktop/El Desembre Congelat.pdf INFO [El Desembre Congelat] BasicBook 996 | Book reaching PAGE on sheets:[#1#2#3#4#5#6#7#8] INFO [El Desembre Congelat#1] BasicStub 493 | Sheet El Desembre Congelat#1 flagged as invalid. WARN [El Desembre Congelat#1] BasicStub 841 | Error in SCALE java.util.concurrent.ExecutionException: org.audiveris.omr.step.StepException: No significant black lines found java.util.concurrent.ExecutionException: org.audiveris.omr.step.StepException: No significant black lines found 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:824) at org.audiveris.omr.sheet.BasicStub.reachStep(BasicStub.java:564) at org.audiveris.omr.sheet.BasicBook.reachBookStep(BasicBook.java:1063) at org.audiveris.omr.sheet.BasicBook.transcribe(BasicBook.java:1446) at org.audiveris.omr.sheet.ui.BookActions$TranscribeBookTask.doInBackground(BookActions.java:1938) at org.audiveris.omr.sheet.ui.BookActions$TranscribeBookTask.doInBackground(BookActions.java:1915) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.audiveris.omr.step.StepException: No significant black lines found at org.audiveris.omr.sheet.ScaleBuilder$HistoKeeper.retrieveLinePeak(ScaleBuilder.java:553) at org.audiveris.omr.sheet.ScaleBuilder.retrieveScale(ScaleBuilder.java:159) at org.audiveris.omr.step.ScaleStep.doit(ScaleStep.java:85) at org.audiveris.omr.step.Step.doit(Step.java:168) at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:814) at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:802) at java.util.concurrent.FutureTask.run(FutureTask.java:266) ... 3 common frames omitted INFO [El Desembre Congelat#1] BasicStub 846 | Cause org.audiveris.omr.step.StepException: No significant black lines found INFO [El Desembre Congelat#1] BasicStub 571 | StepException detected in [SCALE, GRID, HEADERS, STEM_SEEDS, BEAMS, LEDGERS, HEADS, STEMS, REDUCTION, CUE_BEAMS, TEXTS, MEASURES, CHORDS, CURVES, SYMBOLS, LINKS, RHYTHMS, PAGE] INFO [El Desembre Congelat#2] BasicBook 911 | Loaded image 2 2014x3136 from /Users/hford/Desktop/El Desembre Congelat.pdf INFO [El Desembre Congelat#2] BasicStub 493 | Sheet El Desembre Congelat#2 flagged as invalid. WARN [El Desembre Congelat#2] BasicStub 841 | Error in SCALE java.util.concurrent.ExecutionException: org.audiveris.omr.step.StepException: No regularly spaced lines found java.util.concurrent.ExecutionException: org.audiveris.omr.step.StepException: No regularly spaced lines found 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:824) at org.audiveris.omr.sheet.BasicStub.reachStep(BasicStub.java:564) at org.audiveris.omr.sheet.BasicBook.reachBookStep(BasicBook.java:1063) at org.audiveris.omr.sheet.BasicBook.transcribe(BasicBook.java:1446) at org.audiveris.omr.sheet.ui.BookActions$TranscribeBookTask.doInBackground(BookActions.java:1938) at org.audiveris.omr.sheet.ui.BookActions$TranscribeBookTask.doInBackground(BookActions.java:1915) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.audiveris.omr.step.StepException: No regularly spaced lines found at org.audiveris.omr.sheet.ScaleBuilder$HistoKeeper.retrieveInterlinePeaks(ScaleBuilder.java:496) at org.audiveris.omr.sheet.ScaleBuilder.retrieveScale(ScaleBuilder.java:162) at org.audiveris.omr.step.ScaleStep.doit(ScaleStep.java:85) at org.audiveris.omr.step.Step.doit(Step.java:168) at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:814) at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:802) at java.util.concurrent.FutureTask.run(FutureTask.java:266) ... 3 common frames omitted INFO [El Desembre Congelat#2] BasicStub 846 | Cause org.audiveris.omr.step.StepException: No regularly spaced lines found INFO [El Desembre Congelat#2] BasicStub 571 | StepException detected in [LOAD, BINARY, SCALE, GRID, HEADERS, STEM_SEEDS, BEAMS, LEDGERS, HEADS, STEMS, REDUCTION, CUE_BEAMS, TEXTS, MEASURES, CHORDS, CURVES, SYMBOLS, LINKS, RHYTHMS, PAGE] INFO [El Desembre Congelat#3] BasicBook 911 | Loaded image 3 2016x3152 from /Users/hford/Desktop/El Desembre Congelat.pdf INFO [El Desembre Congelat#3] ScaleStep 87 | Scale{line(2,3,4) interline(17,18,19) beam(10)} INFO [El Desembre Congelat#3] LinesRetriever 442 | Global slope: -0.00137 INFO [El Desembre Congelat#3] ClustersRetriever 241 | Retrieved line clusters: 11 of size: 5 with interline: (17,18,19) INFO [El Desembre Congelat#3] PeakGraph 181 | Systems: #1[1, 2] #2[3, 4, 5] #3[6, 7, 8] #4[9, 10, 11] INFO [El Desembre Congelat#3] SystemManager 626 | Indentation detected for system#1 INFO [El Desembre Congelat#3] SystemManager 709 | 2 parts along 4 systems INFO [El Desembre Congelat#3] StemSeedsStep 91 | stem(3 max:5) INFO [El Desembre Congelat#3] BeamsStep 89 | BeamDistance{count:19 mean:13.49 stdDev:0.74} INFO [El Desembre Congelat#3] Page 210 | 17 raw measures: [4 in system#1, 4 in system#2, 4 in system#3, 5 in system#4] INFO [El Desembre Congelat#3] SlursBuilder 157 | Slurs: 5 INFO [El Desembre Congelat#3] SegmentsBuilder 113 | Segments: 13 INFO [El Desembre Congelat#3] SymbolsBuilder 340 | Symbol parts shrunk from 8 to 7 INFO [El Desembre Congelat#3] SymbolsBuilder 340 | Symbol parts shrunk from 17 to 7 INFO [El Desembre Congelat#3] SymbolsBuilder 340 | Symbol parts shrunk from 16 to 7 INFO [El Desembre Congelat#3] SymbolsBuilder 340 | Symbol parts shrunk from 32 to 7 INFO [El Desembre Congelat#3] SymbolsBuilder 340 | Symbol parts shrunk from 15 to 7 INFO [El Desembre Congelat#3] SymbolsBuilder 340 | Symbol parts shrunk from 10 to 7 INFO [El Desembre Congelat#3] SymbolsBuilder 340 | Symbol parts shrunk from 30 to 7 INFO [El Desembre Congelat#3] SymbolsBuilder 340 | Symbol parts shrunk from 9 to 7 INFO [El Desembre Congelat#3] SymbolsBuilder 340 | Symbol parts shrunk from 12 to 7 WARN [El Desembre Congelat#3] SymbolsLinker 123 | Error in linkDynamics for DynamicsInter{#3905(0.721) DYNAMICS_MP} java.lang.NullPointerException java.lang.NullPointerException: null at org.audiveris.omr.sig.inter.DynamicsInter.lookupPartnership(DynamicsInter.java:252) at org.audiveris.omr.sig.inter.DynamicsInter.searchPartnerships(DynamicsInter.java:304) at org.audiveris.omr.sig.inter.DynamicsInter.linkWithChord(DynamicsInter.java:227) at org.audiveris.omr.sheet.symbol.SymbolsLinker.linkDynamics(SymbolsLinker.java:121) at org.audiveris.omr.sheet.symbol.SymbolsLinker.process(SymbolsLinker.java:104) at org.audiveris.omr.sheet.symbol.LinksStep.doSystem(LinksStep.java:72) at org.audiveris.omr.sheet.symbol.LinksStep.doSystem(LinksStep.java:43) at org.audiveris.omr.step.AbstractSystemStep$1.call(AbstractSystemStep.java:198) at org.audiveris.omr.step.AbstractSystemStep$1.call(AbstractSystemStep.java:181) at org.audiveris.omr.step.AbstractSystemStep.doitPerSystem(AbstractSystemStep.java:219) at org.audiveris.omr.step.AbstractSystemStep.doit(AbstractSystemStep.java:106) at org.audiveris.omr.step.Step.doit(Step.java:168) at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:814) at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:802) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) WARN [El Desembre Congelat#3] SymbolsLinker 123 | Error in linkDynamics for DynamicsInter{#3907(0.603) DYNAMICS_MP} java.lang.NullPointerException java.lang.NullPointerException: null at org.audiveris.omr.sig.inter.DynamicsInter.lookupPartnership(DynamicsInter.java:252) at org.audiveris.omr.sig.inter.DynamicsInter.searchPartnerships(DynamicsInter.java:304) at org.audiveris.omr.sig.inter.DynamicsInter.linkWithChord(DynamicsInter.java:227) at org.audiveris.omr.sheet.symbol.SymbolsLinker.linkDynamics(SymbolsLinker.java:121) at org.audiveris.omr.sheet.symbol.SymbolsLinker.process(SymbolsLinker.java:104) at org.audiveris.omr.sheet.symbol.LinksStep.doSystem(LinksStep.java:72) at org.audiveris.omr.sheet.symbol.LinksStep.doSystem(LinksStep.java:43) at org.audiveris.omr.step.AbstractSystemStep$1.call(AbstractSystemStep.java:198) at org.audiveris.omr.step.AbstractSystemStep$1.call(AbstractSystemStep.java:181) at org.audiveris.omr.step.AbstractSystemStep.doitPerSystem(AbstractSystemStep.java:219) at org.audiveris.omr.step.AbstractSystemStep.doit(AbstractSystemStep.java:106) at org.audiveris.omr.step.Step.doit(Step.java:168) at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:814) at org.audiveris.omr.sheet.BasicStub$3.call(BasicStub.java:802) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) INFO [El Desembre Congelat#3] SlotsBuilder 434 | Stack#16 endless loop detected INFO [El Desembre Congelat#3] PageRhythm 314 | Range{1-17 ts:2/4} Durations avgGuess:1/2 topGuess:1/2 avgValue:0.59 stacks:17 voices:51 Histogram{3/8-3/2 size:5 [3/8=3 1/2=42 1=3 23/16=2 3/2=1]} INFO [El Desembre Congelat#3] SlotsBuilder 427 | S1 MeasureStack#4 Slot{#4 xOffset=195 timeOffset=3/8 incomings=[#2914] SUSPICIOUS} INFO [El Desembre Congelat#3] Voice 257 | S1 MeasureStack#4 Voice #2 too long 1/8 INFO [El Desembre Congelat#3] StackTuner 92 | S1 MeasureStack#4 no correct rhythm INFO [El Desembre Congelat#3] SlotsBuilder 427 | S2 MeasureStack#8 Slot{#4 xOffset=212 timeOffset=3/8 incomings=[#2955] SUSPICIOUS} INFO [El Desembre Congelat#3] Voice 257 | S2 MeasureStack#8 Voice #2 too long 1/8 INFO [El Desembre Congelat#3] StackTuner 92 | S2 MeasureStack#8 no correct rhythm INFO [El Desembre Congelat#3] SlotsBuilder 427 | S3 MeasureStack#12 Slot{#4 xOffset=218 timeOffset=3/8 incomings=[#2996] SUSPICIOUS} INFO [El Desembre Congelat#3] Voice 257 | S3 MeasureStack#12 Voice #2 too long 1/8 INFO [El Desembre Congelat#3] StackTuner 92 | S3 MeasureStack#12 no correct rhythm INFO [El Desembre Congelat#3] SlotsBuilder 434 | Stack#16 endless loop detected INFO [El Desembre Congelat#3] Voice 257 | S4 MeasureStack#16 Voice #1 too long 1 INFO [El Desembre Congelat#3] Voice 257 | S4 MeasureStack#16 Voice #1 too long 15/16 INFO [El Desembre Congelat#3] Voice 257 | S4 MeasureStack#16 Voice #2 too long 15/16 INFO [El Desembre Congelat#3] StackTuner 92 | S4 MeasureStack#16 no correct rhythm INFO [El Desembre Congelat#3] Voice 257 | S4 MeasureStack#17 Voice #1 too long 1/2 INFO [El Desembre Congelat#3] Voice 257 | S4 MeasureStack#17 Voice #1 too long 1/2 INFO [El Desembre Congelat#3] Voice 257 | S4 MeasureStack#17 Voice #2 too long 1/2 INFO [El Desembre Congelat#3] StackTuner 92 | S4 MeasureStack#17 no correct rhythm INFO [El Desembre Congelat#3] Part 267 | Could not left-connect slur#3128 INFO [El Desembre Congelat#3] Voice 257 | S1 MeasureStack#4 Voice #2 too long 1/8 INFO [El Desembre Congelat#3] Voice 257 | S2 MeasureStack#8 Voice #2 too long 1/8 INFO [El Desembre Congelat#3] Voice 257 | S3 MeasureStack#12 Voice #2 too long 1/8 INFO [El Desembre Congelat#3] Voice 257 | S4 MeasureStack#16 Voice #1 too long 1 INFO [El Desembre Congelat#3] Voice 257 | S4 MeasureStack#16 Voice #1 too long 15/16 INFO [El Desembre Congelat#3] Voice 257 | S4 MeasureStack#16 Voice #2 too long 15/16 INFO [El Desembre Congelat#3] Voice 257 | S4 MeasureStack#17 Voice #1 too long 1/2 INFO [El Desembre Congelat#3] Voice 257 | S4 MeasureStack#17 Voice #1 too long 1/2 INFO [El Desembre Congelat#3] Voice 257 | S4 MeasureStack#17 Voice #2 too long 1/2 INFO [El Desembre Congelat#4] BasicBook 911 | Loaded image 4 2009x3145 from /Users/hford/Desktop/El Desembre Congelat.pdf INFO [El Desembre Congelat#4] ScaleStep 87 | Scale{line(2,3,4) interline(17,18,19) beam(10)} INFO [El Desembre Congelat#4] LinesRetriever 442 | Global slope: 0.00123 INFO [El Desembre Congelat#4] ClustersRetriever 241 | Retrieved line clusters: 12 of size: 5 with interline: (17,18,19) INFO [El Desembre Congelat#4] PeakGraph 181 | Systems: #1[1, 2, 3, 4] #2[5, 6, 7, 8] #3[9, 10, 11, 12] INFO [El Desembre Congelat#4] BarsRetriever 1387 | System#1 INFO [El Desembre Congelat#4] BarsRetriever 1390 | PartGroup{bracket number:1 barline:false staves:1-2} INFO [El Desembre Congelat#4] BarsRetriever 1387 | System#2 INFO [El Desembre Congelat#4] BarsRetriever 1390 | PartGroup{bracket number:1 barline:false staves:5-6} INFO [El Desembre Congelat#4] BarsRetriever 1387 | System#3 INFO [El Desembre Congelat#4] BarsRetriever 1390 | PartGroup{bracket number:1 barline:false staves:9-10} INFO [El Desembre Congelat#4] SystemManager 709 | 3 parts along 3 systems INFO [El Desembre Congelat#4] StemSeedsStep 91 | stem(3 max:5) INFO [El Desembre Congelat#4] BeamsStep 89 | BeamDistance{count:24 mean:13.52 stdDev:0.45} INFO [El Desembre Congelat#4] Page 210 | 12 raw measures: [4 in system#1, 4 in system#2, 4 in system#3] INFO [El Desembre Congelat#4] SlursBuilder 157 | Slurs: 2 INFO [El Desembre Congelat#4] SegmentsBuilder 113 | Segments: 29 INFO [El Desembre Congelat#4] SymbolsBuilder 340 | Symbol parts shrunk from 8 to 7 INFO [El Desembre Congelat#4] SymbolsBuilder 340 | Symbol parts shrunk from 8 to 7 INFO [El Desembre Congelat#4] SymbolsLinker 323 | No chord above direction SentenceInter{#2554(0.539) s:5 43 Direction} ’ "FP INFO [El Desembre Congelat#4] SlotsBuilder 434 | Stack#2 endless loop detected INFO [El Desembre Congelat#4] PageRhythm 314 | Range{1-12 ts:2/4} Durations avgGuess:1/2 topGuess:1/2 avgValue:0.50 stacks:12 voices:50 Histogram{3/16-1/2 size:4 [3/16=3 1/4=2 3/8=1 1/2=44]} INFO [El Desembre Congelat#4] SlotsBuilder 434 | Stack#2 endless loop detected INFO [El Desembre Congelat#4] SlotsBuilder 427 | S2 MeasureStack#6 Slot{#4 xOffset=210 timeOffset=3/8 incomings=[#2755] SUSPICIOUS} INFO [El Desembre Congelat#4] Voice 257 | S2 MeasureStack#6 Voice #2 too long 1/8 INFO [El Desembre Congelat#4] StackTuner 92 | S2 MeasureStack#6 no correct rhythm INFO [El Desembre Congelat#4] Voice 257 | S2 MeasureStack#6 Voice #2 too long 1/8 INFO [El Desembre Congelat#5] BasicBook 911 | Loaded image 5 2019x3151 from /Users/hford/Desktop/El Desembre Congelat.pdf INFO [El Desembre Congelat#5] ScaleStep 87 | Scale{line(2,3,4) interline(17,18,19) beam(10)} INFO [El Desembre Congelat#5] LinesRetriever 442 | Global slope: 0.00264 INFO [El Desembre Congelat#5] ClustersRetriever 241 | Retrieved line clusters: 12 of size: 5 with interline: (17,18,19) INFO [El Desembre Congelat#5] PeakGraph 181 | Systems: #1[1, 2, 3, 4] #2[5, 6, 7, 8] #3[9, 10, 11, 12] INFO [El Desembre Congelat#5] BarsRetriever 1387 | System#1 INFO [El Desembre Congelat#5] BarsRetriever 1390 | PartGroup{bracket number:1 barline:false staves:1-2} INFO [El Desembre Congelat#5] BarsRetriever 1387 | System#2 INFO [El Desembre Congelat#5] BarsRetriever 1390 | PartGroup{bracket number:1 barline:false staves:5-6} INFO [El Desembre Congelat#5] BarsRetriever 1387 | System#3 INFO [El Desembre Congelat#5] BarsRetriever 1390 | PartGroup{bracket number:1 barline:false staves:9-10} INFO [El Desembre Congelat#5] SystemManager 709 | 3 parts along 3 systems INFO [El Desembre Congelat#5] StemSeedsStep 91 | stem(3 max:5) INFO [El Desembre Congelat#5] BeamsStep 89 | BeamDistance{count:24 mean:13.57 stdDev:0.47} INFO [El Desembre Congelat#5] Page 210 | 13 raw measures: [4 in system#1, 4 in system#2, 5 in system#3] INFO [El Desembre Congelat#5] SlursBuilder 157 | Slurs: 4 INFO [El Desembre Congelat#5] SegmentsBuilder 113 | Segments: 42 INFO [El Desembre Congelat#5] SymbolsBuilder 340 | Symbol parts shrunk from 8 to 7 INFO [El Desembre Congelat#5] SymbolsBuilder 340 | Symbol parts shrunk from 8 to 7 INFO [El Desembre Congelat#5] SymbolsBuilder 340 | Symbol parts shrunk from 8 to 7 INFO [El Desembre Congelat#5] SymbolsBuilder 340 | Symbol parts shrunk from 10 to 7 INFO [El Desembre Congelat#5] SymbolsBuilder 340 | Symbol parts shrunk from 8 to 7 INFO [El Desembre Congelat#5] SymbolsBuilder 340 | Symbol parts shrunk from 8 to 7 INFO [El Desembre Congelat#5] SymbolsBuilder 340 | Symbol parts shrunk from 9 to 7 INFO [El Desembre Congelat#5] PageRhythm 314 | Range{1-5} Durations avgGuess:1/2 topGuess:1/2 avgValue:0.50 stacks:5 voices:23 Histogram{1/4-1/2 size:2 [1/4=1 1/2=22]} INFO [El Desembre Congelat#5] PageRhythm 314 | Range{6-13 ts:3/4} Durations avgGuess:3/4 topGuess:1/2 avgValue:0.72 stacks:8 voices:30 Histogram{3/8-3/2 size:4 [3/8=1 1/2=19 3/4=5 3/2=5]} INFO [El Desembre Congelat#5] PageRhythm 221 | S1 Range{1-5 dur:1/2} should update to 1/2-based time sig? INFO [El Desembre Congelat#5] Voice 257 | S2 MeasureStack#7 Voice #1 too long 3/4 INFO [El Desembre Congelat#5] Voice 257 | S2 MeasureStack#7 Voice #1 too long 3/4 INFO [El Desembre Congelat#5] Voice 257 | S2 MeasureStack#7 Voice #1 too long 3/4 INFO [El Desembre Congelat#5] Voice 257 | S2 MeasureStack#7 Voice #2 too long 3/4 INFO [El Desembre Congelat#5] Voice 257 | S2 MeasureStack#7 Voice #3 too long 3/4 INFO [El Desembre Congelat#5] StackTuner 92 | S2 MeasureStack#7 no correct rhythm INFO [El Desembre Congelat#5] SlotsBuilder 427 | S3 MeasureStack#12 Slot{#4 xOffset=194 timeOffset=3/8 incomings=[#2991] SUSPICIOUS} INFO [El Desembre Congelat#5] Part 275 | Could not right-connect slur#2998 INFO [El Desembre Congelat#5] Voice 257 | S2 MeasureStack#7 Voice #1 too long 3/4 INFO [El Desembre Congelat#5] Voice 257 | S2 MeasureStack#7 Voice #1 too long 3/4 INFO [El Desembre Congelat#5] Voice 257 | S2 MeasureStack#7 Voice #1 too long 3/4 INFO [El Desembre Congelat#5] Voice 257 | S2 MeasureStack#7 Voice #2 too long 3/4 INFO [El Desembre Congelat#5] Voice 257 | S2 MeasureStack#7 Voice #3 too long 3/4 INFO [El Desembre Congelat#6] BasicBook 911 | Loaded image 6 2013x3141 from /Users/hford/Desktop/El Desembre Congelat.pdf INFO [El Desembre Congelat#6] ScaleStep 87 | Scale{line(2,3,4) interline(17,18,19) beam(10)} INFO [El Desembre Congelat#6] LinesRetriever 442 | Global slope: -0.00101 INFO [El Desembre Congelat#6] ClustersRetriever 241 | Retrieved line clusters: 12 of size: 5 with interline: (17,18,19) INFO [El Desembre Congelat#6] PeakGraph 181 | Systems: #1[1, 2] #2[3, 4, 5, 6, 7] #3[8, 9, 10, 11, 12] INFO [El Desembre Congelat#6] BarsRetriever 1387 | System#2 INFO [El Desembre Congelat#6] BarsRetriever 1390 | PartGroup{bracket number:1 barline:false staves:4-5} INFO [El Desembre Congelat#6] BarsRetriever 1387 | System#3 INFO [El Desembre Congelat#6] BarsRetriever 1390 | PartGroup{bracket number:1 barline:false staves:9-10} INFO [El Desembre Congelat#6] SystemManager 709 | 4 parts along 3 systems INFO [El Desembre Congelat#6] StemSeedsStep 91 | stem(4 max:5) INFO [El Desembre Congelat#6] BeamsStep 89 | BeamDistance{count:13 mean:13.74 stdDev:0.55} INFO [El Desembre Congelat#6] Page 210 | 12 raw measures: [4 in system#1, 4 in system#2, 4 in system#3] INFO [El Desembre Congelat#6] SlursBuilder 157 | Slurs: 1 INFO [El Desembre Congelat#6] SegmentsBuilder 113 | Segments: 20 INFO [El Desembre Congelat#6] SymbolsBuilder 340 | Symbol parts shrunk from 8 to 7 INFO [El Desembre Congelat#6] LyricItemInter 248 | No head-chord above lyric LyricItemInter{#2225(0.637) e#2227 s:4 "Baritone" Syllable} INFO [El Desembre Congelat#6] LyricItemInter 248 | No head-chord above lyric LyricItemInter{#2226(0.671) e#2227 s:4 "mf" Syllable} INFO [El Desembre Congelat#6] PageRhythm 314 | Range{1-12} Durations avgGuess:1/2 topGuess:1/2 avgValue:0.50 stacks:12 voices:50 Histogram{3/8-1/2 size:2 [3/8=2 1/2=48]} INFO [El Desembre Congelat#6] PageRhythm 221 | S1 Range{1-12 dur:1/2} should update to 1/2-based time sig? INFO [El Desembre Congelat#6] SlotsBuilder 427 | S1 MeasureStack#4 Slot{#4 xOffset=231 timeOffset=3/8 incomings=[#2377] SUSPICIOUS} INFO [El Desembre Congelat#6] Voice 257 | S1 MeasureStack#4 Voice #2 too long 1/8 INFO [El Desembre Congelat#6] StackTuner 92 | S1 MeasureStack#4 no correct rhythm INFO [El Desembre Congelat#6] SlotsBuilder 427 | S2 MeasureStack#8 Slot{#4 xOffset=209 timeOffset=3/8 incomings=[#2443] SUSPICIOUS} INFO [El Desembre Congelat#6] Voice 257 | S2 MeasureStack#8 Voice #2 too long 1/8 INFO [El Desembre Congelat#6] StackTuner 92 | S2 MeasureStack#8 no correct rhythm INFO [El Desembre Congelat#6] Voice 257 | S1 MeasureStack#4 Voice #2 too long 1/8 INFO [El Desembre Congelat#6] Voice 257 | S2 MeasureStack#8 Voice #2 too long 1/8 INFO [El Desembre Congelat#7] BasicBook 911 | Loaded image 7 2022x3144 from /Users/hford/Desktop/El Desembre Congelat.pdf INFO [El Desembre Congelat#7] ScaleStep 87 | Scale{line(2,3,4) interline(17,18,19) beam(10)} INFO [El Desembre Congelat#7] LinesRetriever 442 | Global slope: 0.00020 INFO [El Desembre Congelat#7] ClustersRetriever 241 | Retrieved line clusters: 10 of size: 5 with interline: (17,18,19) INFO [El Desembre Congelat#7] PeakGraph 181 | Systems: #1[1, 2, 3, 4, 5] #2[6, 7, 8, 9, 10] INFO [El Desembre Congelat#7] BarsRetriever 1387 | System#1 INFO [El Desembre Congelat#7] BarsRetriever 1390 | PartGroup{bracket number:1 barline:false staves:2-3} INFO [El Desembre Congelat#7] BarsRetriever 1387 | System#2 INFO [El Desembre Congelat#7] BarsRetriever 1390 | PartGroup{bracket number:1 barline:false staves:7-8} INFO [El Desembre Congelat#7] SystemManager 709 | 4 parts along 2 systems INFO [El Desembre Congelat#7] StemSeedsStep 91 | stem(4 max:5) INFO [El Desembre Congelat#7] BeamsStep 89 | BeamDistance{count:22 mean:13.66 stdDev:0.46} INFO [El Desembre Congelat#7] Page 210 | 7 raw measures: [4 in system#1, 3 in system#2] INFO [El Desembre Congelat#7] SlursBuilder 157 | Slurs: 1 INFO [El Desembre Congelat#7] SegmentsBuilder 113 | Segments: 29 INFO [El Desembre Congelat#7] SymbolsBuilder 340 | Symbol parts shrunk from 9 to 7 INFO [El Desembre Congelat#7] SymbolsBuilder 340 | Symbol parts shrunk from 8 to 7 INFO [El Desembre Congelat#7] SymbolsBuilder 340 | Symbol parts shrunk from 9 to 7 INFO [El Desembre Congelat#7] SymbolsBuilder 340 | Symbol parts shrunk from 8 to 7 INFO [El Desembre Congelat#7] SymbolsBuilder 340 | Symbol parts shrunk from 9 to 7 INFO [El Desembre Congelat#7] LyricItemInter 248 | No head-chord above lyric LyricItemInter{#2479(0.716) e#2480 s:6 "f" Syllable} INFO [El Desembre Congelat#7] PageRhythm 314 | Range{1-3} Durations avgGuess:1/2 topGuess:1/2 avgValue:0.50 stacks:3 voices:15 Histogram{1/2-1/2 size:1 [1/2=15]} INFO [El Desembre Congelat#7] PageRhythm 314 | Range{4-4 ts:3/4} Durations avgGuess:null topGuess:null avgValue:0.00 stacks:1 voices:0 Histogram{- size:0 []} INFO [El Desembre Congelat#7] PageRhythm 314 | Range{5-7 ts:3/4} Durations avgGuess:1 topGuess:1/2 avgValue:0.92 stacks:3 voices:18 Histogram{1/2-3/2 size:3 [1/2=6 3/4=6 3/2=6]} INFO [El Desembre Congelat#7] PageRhythm 221 | S1 Range{1-3 dur:1/2} should update to 1/2-based time sig? INFO [El Desembre Congelat#7] PageRhythm 221 | S2 Range{5-7 ts:3/4 dur:1} should update to 1-based time sig? INFO [El Desembre Congelat#7] Voice 257 | S2 MeasureStack#6 Voice #1 too long 1/2 INFO [El Desembre Congelat#7] Voice 257 | S2 MeasureStack#6 Voice #1 too long 1/2 INFO [El Desembre Congelat#7] Voice 257 | S2 MeasureStack#6 Voice #1 too long 1/2 INFO [El Desembre Congelat#7] Voice 257 | S2 MeasureStack#6 Voice #1 too long 1/2 INFO [El Desembre Congelat#7] Voice 257 | S2 MeasureStack#6 Voice #2 too long 1/2 INFO [El Desembre Congelat#7] Voice 257 | S2 MeasureStack#6 Voice #3 too long 1/2 INFO [El Desembre Congelat#7] StackTuner 92 | S2 MeasureStack#6 no correct rhythm INFO [El Desembre Congelat#7] Voice 257 | S2 MeasureStack#6 Voice #1 too long 1/2 INFO [El Desembre Congelat#7] Voice 257 | S2 MeasureStack#6 Voice #1 too long 1/2 INFO [El Desembre Congelat#7] Voice 257 | S2 MeasureStack#6 Voice #1 too long 1/2 INFO [El Desembre Congelat#7] Voice 257 | S2 MeasureStack#6 Voice #1 too long 1/2 INFO [El Desembre Congelat#7] Voice 257 | S2 MeasureStack#6 Voice #2 too long 1/2 INFO [El Desembre Congelat#7] Voice 257 | S2 MeasureStack#6 Voice #3 too long 1/2 INFO [El Desembre Congelat#8] BasicBook 911 | Loaded image 8 2011x3136 from /Users/hford/Desktop/El Desembre Congelat.pdf INFO [El Desembre Congelat#8] ScaleStep 87 | Scale{line(2,3,4) interline(17,18,19) beam(10)} INFO [El Desembre Congelat#8] LinesRetriever 442 | Global slope: 0.00000 INFO [El Desembre Congelat#8] ClustersRetriever 241 | Retrieved line clusters: 10 of size: 5 with interline: (17,18,19) INFO [El Desembre Congelat#8] PeakGraph 181 | Systems: #1[1, 2, 3, 4, 5] #2[6, 7, 8, 9, 10] INFO [El Desembre Congelat#8] BarsRetriever 1387 | System#1 INFO [El Desembre Congelat#8] BarsRetriever 1390 | PartGroup{bracket number:1 barline:false staves:2-3} INFO [El Desembre Congelat#8] BarsRetriever 1387 | System#2 INFO [El Desembre Congelat#8] BarsRetriever 1390 | PartGroup{bracket number:1 barline:false staves:7-8} INFO [El Desembre Congelat#8] SystemManager 709 | 4 parts along 2 systems INFO [El Desembre Congelat#8] StemSeedsStep 91 | stem(4 max:5) INFO [El Desembre Congelat#8] BeamsStep 89 | BeamDistance{count:8 mean:13.72 stdDev:0.19} INFO [El Desembre Congelat#8] Page 210 | 8 raw measures: [4 in system#1, 4 in system#2] INFO [El Desembre Congelat#8] SlursBuilder 157 | Slurs: 9 INFO [El Desembre Congelat#8] SegmentsBuilder 113 | Segments: 13 INFO [El Desembre Congelat#8] SymbolsBuilder 340 | Symbol parts shrunk from 16 to 7 INFO [El Desembre Congelat#8] SymbolsBuilder 340 | Symbol parts shrunk from 8 to 7 INFO [El Desembre Congelat#8] SymbolsBuilder 340 | Symbol parts shrunk from 12 to 7 INFO [El Desembre Congelat#8] SymbolsBuilder 340 | Symbol parts shrunk from 15 to 7 INFO [El Desembre Congelat#8] SymbolsBuilder 340 | Symbol parts shrunk from 12 to 7 INFO [El Desembre Congelat#8] SymbolsBuilder 340 | Symbol parts shrunk from 12 to 7 INFO [El Desembre Congelat#8] SymbolsBuilder 340 | Symbol parts shrunk from 13 to 7 INFO [El Desembre Congelat#8] SymbolsBuilder 340 | Symbol parts shrunk from 14 to 7 INFO [El Desembre Congelat#8] LyricItemInter 248 | No head-chord above lyric LyricItemInter{#1851(0.613) e#1852 s:1 "9" Syllable} INFO [El Desembre Congelat#8] LyricItemInter 248 | No head-chord above lyric LyricItemInter{#1869(0.564) e#1871 s:2 "," Syllable} INFO [El Desembre Congelat#8] LyricItemInter 248 | No head-chord above lyric LyricItemInter{#1870(0.598) e#1871 s:2 "’" Syllable} INFO [El Desembre Congelat#8] SymbolsLinker 323 | No chord above direction SentenceInter{#1886(0.703) s:5 I-36 Direction} ril. INFO [El Desembre Congelat#8] LyricItemInter 248 | No head-chord above lyric LyricItemInter{#1936(0.604) e#1937 s:8 "bre!" Syllable} INFO [El Desembre Congelat#8] PageRhythm 314 | Range{1-8} Durations avgGuess:1/2 topGuess:1/2 avgValue:0.50 stacks:8 voices:41 Histogram{1/4-1/2 size:3 [1/4=2 3/8=1 1/2=38]} INFO [El Desembre Congelat#8] PageRhythm 221 | S1 Range{1-8 dur:1/2} should update to 1/2-based time sig? INFO [El Desembre Congelat#8] SlotsBuilder 427 | S1 MeasureStack#4 Slot{#4 xOffset=194 timeOffset=3/8 incomings=[#2024] SUSPICIOUS} INFO [El Desembre Congelat#8] Voice 257 | S1 MeasureStack#4 Voice #2 too long 1/8 INFO [El Desembre Congelat#8] StackTuner 92 | S1 MeasureStack#4 no correct rhythm INFO [El Desembre Congelat#8] Voice 257 | S1 MeasureStack#4 Voice #2 too long 1/8 WARN [El Desembre Congelat] BookActions 1940 | Could not transcribe book java.lang.NullPointerException: null at org.audiveris.omr.score.ScoreReduction.addPartList(ScoreReduction.java:180) at org.audiveris.omr.score.ScoreReduction.reduce(ScoreReduction.java:118) at org.audiveris.omr.sheet.BasicBook.reduceScores(BasicBook.java:1109) at org.audiveris.omr.sheet.BasicBook.transcribe(BasicBook.java:1448) at org.audiveris.omr.sheet.ui.BookActions$TranscribeBookTask.doInBackground(BookActions.java:1938) at org.audiveris.omr.sheet.ui.BookActions$TranscribeBookTask.doInBackground(BookActions.java:1915) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

I did try to modify the code to catch this one particular NullPointerException and just swallow it, but the resulting XML is a mess when I open it in OpenMuse. It adds many additional staves and puts a few staves together in one. This makes me think that this code path does something special, and swallowing the exception is not the answer.

I tried with the latest commit and release 5.0 and get the same thing.

FAILURE: Build failed with an exception

Running MacOS 10.13.2
After cloning in and running
gradle build
or
gradle clean build
as myself or with sudo the build will fail.

I have tried with Oracle JDK 8 and 9, also with JRE 8

Java
java -version java version "9.0.1" Java(TM) SE Runtime Environment (build 9.0.1+11) Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

Gradle

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/local/Cellar/gradle/4.4.1/libexec/lib/groovy-all-2.4.12.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

------------------------------------------------------------
Gradle 4.4.1
------------------------------------------------------------

Build time:   2017-12-20 15:45:23 UTC
Revision:     10ed9dc355dc39f6307cc98fbd8cea314bdd381c

Groovy:       2.4.12
Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017
JVM:          9.0.1 (Oracle Corporation 9.0.1+11)
OS:           Mac OS X 10.13.2 x86_64

The build fails on tests

org.audiveris.omr.jaxb.itf.TestEntity > initializationError FAILED
    java.lang.NoClassDefFoundError
        Caused by: java.lang.ClassNotFoundException

org.audiveris.omr.jaxb.itf.TestCompound > initializationError FAILED
    java.lang.NoClassDefFoundError
        Caused by: java.lang.ClassNotFoundException

org.audiveris.omr.jaxb.basic.BasicTest > initializationError FAILED
    java.lang.NoClassDefFoundError
        Caused by: java.lang.ClassNotFoundException

org.audiveris.omr.jaxb.facade.TestFacade > initializationError FAILED
    java.lang.NoClassDefFoundError
        Caused by: java.lang.ClassNotFoundException

org.audiveris.omr.jaxb.table.TableTest > initializationError FAILED
    java.lang.NoClassDefFoundError
        Caused by: java.lang.ClassNotFoundException

org.audiveris.omr.jaxb.refs.TestRefs > initializationError FAILED
    java.lang.NoClassDefFoundError
        Caused by: java.lang.ClassNotFoundException

org.audiveris.omr.run.RunTableBindingTest > initializationError FAILED
    java.lang.NoClassDefFoundError
        Caused by: java.lang.ClassNotFoundException

179 tests completed, 7 failed


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.

Thoughts?

Thanks

Switch to updated version of jai-imageio-core (standalone)

audiveris-ng currently depends on the old jai-imageio-core-standalone, version 1.2 from 2014. Its (no longer maintained) code is still located at Java.net and will disappear very soon (java.net and kenai.com will go down April 28, 2017).

There is a fork of this project at Github. The proprietary Sun package prefix com.sun.media has been replaced with com.github.jaiimageio. There is a newer version - 1.3.1 from 2015.

I propose to switch to the github version.

Build freeze on MouseWheelTest

Hi,

On MacOS 10.13.2 I try to build with Terminal and with XQuartz but the build process freeze on MouseWhellTest. It display nothing.. What it is suppose to display ? A box to tests the MooseWheel ?

org.audiveris.omr.ui.symbol.MusicFontTest > textPrintout FAILED
java.io.FileNotFoundException at MusicFontTest.java:75
<==========---> 81% EXECUTING [15m 42s]

:test > 4 tests completed, 1 failed
:test > Executing test org.audiveris.omr.ui.MouseWheelTest

Drum notation?

Hello, wonderful developers of Audiveris!

I try to scan my drums sheets from my music school but after a processing, the hi-hat notes (noted with crosses), do not appear on the resulting file; am I missing some configuration? I tried to search for "drums" in your wiki and documentation, is it an expected behavior, a limitation or an error I did?

Thanks for your help :)

~SPJ

Build failing due to unresolved dependencies

Build failing on Ubuntu 16.10 due to unresolved dependencies.

$ gradle build

targetOS=linux-x86_64
:git_build
:generateProgramId
:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
  Required by:
      project :
   > Could not resolve args4j:args4j:2.33.
      > java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$TLSContext
   > Could not resolve args4j:args4j:2.33.
      > java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$TLSContext
   > Could not resolve args4j:args4j:2.33.
      > java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$TLSContext
...

Full build logs:

$ java -version

openjdk version "9-Ubuntu"
OpenJDK Runtime Environment (build 9-Ubuntu+0-9b134-2ubuntu1)
OpenJDK 64-Bit Server VM (build 9-Ubuntu+0-9b134-2ubuntu1, mixed mode)

$ gradle --version

------------------------------------------------------------
Gradle 3.5
------------------------------------------------------------

Build time:   2017-04-10 13:37:25 UTC
Revision:     b762622a185d59ce0cfc9cbc6ab5dd22469e18a6

Groovy:       2.4.10
Ant:          Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM:          9-Ubuntu (Oracle Corporation 9-Ubuntu+0-9b134-2ubuntu1)
OS:           Linux 4.8.0-46-generic amd64

$ git --version

git version 2.9.3

Guide on how to use Audiveris API

Good day! I am a beginner in programming and would like to integrate Audiveris into my project but I don't know where to start. I've read the source code but I don't have any idea on what are the code/classes that I'll need for the project. My project is a simple program that receives an image as input and output it as .xml in Music XML format. Is there a guide on how to use it? TIA

detection of lyrics text above the note lines

Audiveris does not expect lyrics above the note lines. In chorus notation this is rather common, esp. in the case that 2 voices share the same note line.
Maybe a feature like

  • select a part of text (by rectangle selection - shift + mouse)
  • define this text as lyrics, with possibility to set the according voice number
  • re-run the steps starting from "symbols" (because actually some lyrics text is "recognized" as symbols)
    This would probably mean that the state before step "symbols" must be kept "in mind" - should be no problem I assume.

offset in lower staffs of multi-staff scores

I use Audiveris through the import function of MuseScore.
Several times I had now the same problem: from a certain point in the score the lower measures (all but the first one) are no more synchronuous - the first note(s) of the following measure are appended to the actual one, and this repeats for the following measures.
In the appended file this happens in measure 7.

Dona dona.pdf

Dona_dona (1).zip

Update Wiki with GUI/layman-friendly instructions

I was able to figure out how to use the GUI, but I feel this can be made much more accessible to the layman with proper instructions on the Wiki.

I intend to submit changes myself, but I'm pretty absent-minded, so am leaving this here for future reference.

PATH/build/scripts/Audiveris generates incorrect classpaths on Linux

I built audiveris (gradle build) in a directory ~/apps/audiveris.
If I cd into that directory and run "gradle run", it starts fine.
But if instead I run ~/apps/audiveris/build/scripts/Audiveris, I get:

Error: Could not find or load main class Audiveris

I noticed that the classpath expects a 'lib' directory under builds, which does not exist. I tried making a symlink from 'lib' to 'jar', but then I got a different error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/kohsuke/args4j/CmdLineException
at Audiveris.main(Audiveris.java:49)
Caused by: java.lang.ClassNotFoundException: org.kohsuke.args4j.CmdLineException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more

So something is wrong with the way the shell script is launching audiveris on Linux, but I am not sure what... For now, I'll create my own script that does a cd into ~/apps/audiveris, and then does "gradle run", but the script should be fixed since it's documented as an alternative way to launch the app.

Thanks!

program shutdown in tesseract step due to language files

The tesseract step outputs errors:

Failed loading language 'fra'
Failed loading language 'eng'
read_params_file: parameter not found:

After this Audiveris shuts down with no additional errors.

I have tried several combinations: put the language file to a certain directory and set TESSDATA_PREFIX to this directory or create a directory "C:\Program Files (x86)\tesseract-ocr\tessdata" and put the language files there. I get the error in both cases.
The language files date from 15.01.2018.

Cannot build audiveris

The build fails with this message:

  • What went wrong:
    Could not resolve all dependencies for configuration ':compileClasspath'.

Could not resolve net.java.dev.jai-imageio:jai-imageio-core-standalone:1.2-pre-dr-b04-2014-09-13.
Required by:
project :
Could not resolve net.java.dev.jai-imageio:jai-imageio-core-standalone:1.2-pre-dr-b04-2014-09-13.
> Could not get resource 'http://www.mygrid.org.uk/maven/repository/net/java/dev/jai-imageio/jai-imageio-core-standalone/1.2-pre-dr-b04-2014-09-13/jai-imageio-core-standalone-1.2-pre-dr-b04-2014-09-13.pom'.
> Could not GET 'http://www.mygrid.org.uk/maven/repository/net/java/dev/jai-imageio/jai-imageio-core-standalone/1.2-pre-dr-b04-2014-09-13/jai-imageio-core-standalone-1.2-pre-dr-b04-2014-09-13.pom'. Received status code 503 from server: Service Temporarily Unavailable

Run CLI

gradle run works and gives me a GUI but as it is stated in the readme, the GUI is for debugging purposes. How can I run the CLI?

keep selection after "de-assign"

It would be a helpful improvement to keep the selection of a glyph after pressing "de-assign".
Actually it is always necessary to select an object again.
Just a little improvement to make corrections easier to handle.

I used the actual dev. branch for the test (ver 5.1, 29.01.2018)

Tesseract not found on macOS 10.12

The gradle run tasks fails on macOS 10.12 with the following error message:

targetOS=macosx-x86_64
:git_build
:generateProgramId
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
Exception in thread "main" java.lang.ExceptionInInitializerError
	at org.audiveris.omr.Main.<clinit>(Main.java:64)
	at Audiveris.main(Audiveris.java:49)
Caused by: org.audiveris.omr.WellKnowns$InstallationException: Tesseract-OCR is not installed
	at org.audiveris.omr.WellKnowns.getOcrFolder(WellKnowns.java:446)
	at org.audiveris.omr.WellKnowns.<clinit>(WellKnowns.java:141)
	... 2 more
:run FAILED

Tesseract is installed using brew install tesseract. The installed version info is:

tesseract: stable 3.05.00 (bottled), HEAD
OCR (Optical Character Recognition) engine
https://github.com/tesseract-ocr/
/usr/local/Cellar/tesseract/3.05.00 (235 files, 1.2GB) *
  Built from source on 2017-03-04 at 10:10:01 with: --with-all-languages
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/tesseract.rb

Extra voices

Some sheet music is recognized into multiple voices. Is there a setting to tell Audiveris to avoid this? What is the logic for obviously mono-instrumental score? Thank you

FAILURE: Build failed with an exception.

I got Gradle and Tesseract (tesseract-ocr) installed, plus I have the latest Java 8 build. I am running Ubuntu 16.04.
Nonetheless, while trying to build Audiveris (on its development branch), it fails at the task :test.

$ gradle clean build

> Configure project :
targetOS=linux-x86_64

Download https://jcenter.bintray.com/org/jgrapht/jgrapht-core/1.0.1/jgrapht-core-1.0.1.pom
Download https://jcenter.bintray.com/org/jgrapht/jgrapht/1.0.1/jgrapht-1.0.1.pom
Download https://jcenter.bintray.com/org/jgrapht/jgrapht-core/1.0.1/jgrapht-core-1.0.1.jar

> Task :compileJava
warning: [options] bootstrap class path not set in conjunction with -source 1.7
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Download https://jcenter.bintray.com/org/jgrapht/jgrapht-ext/1.0.1/jgrapht-ext-1.0.1.pom
Download https://jcenter.bintray.com/org/jgrapht/jgrapht-ext/1.0.1/jgrapht-ext-1.0.1.jar

> Task :compileTestJava
warning: [options] bootstrap class path not set in conjunction with -source 1.7
Note: /home/soundnotation/audiveris/src/test/org/audiveris/omr/ui/symbol/MusicFontTest.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :test

org.audiveris.omr.ui.ZoomTest > testZoom FAILED
    java.awt.HeadlessException at ZoomTest.java:60

org.audiveris.omr.ui.MouseWheelTest > play FAILED
    java.awt.HeadlessException at MouseWheelTest.java:102

186 tests completed, 2 failed


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///home/soundnotation/audiveris/build/reports/tests/test/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 59s
11 actionable tasks: 11 executed

$ gradle -v

------------------------------------------------------------
Gradle 4.5
------------------------------------------------------------

Build time:   2018-01-24 17:04:52 UTC
Revision:     77d0ec90636f43669dc794ca17ef80dd65457bec

Groovy:       2.4.12
Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017
JVM:          1.8.0_161 (Oracle Corporation 25.161-b12)
OS:           Linux 4.4.0-104-generic amd64

$ tesseract -v

tesseract 3.04.01
 leptonica-1.73
  libgif 5.1.2 : libjpeg 8d (libjpeg-turbo 1.4.2) : libpng 1.2.54 : libtiff 4.0.6 : zlib 1.2.8 : libwebp 0.4.4 : libopenjp2 2.1.2

$ java -version

java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

Moreover, if I try gradle clean run, it goes like:

> Configure project :
targetOS=linux-x86_64

> Task :compileJava
warning: [options] bootstrap class path not set in conjunction with -source 1.7
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :run
LogUtil. Property logback.configurationFile not defined.
LogUtil. No /home/soundnotation/.config/AudiverisLtd/audiveris/logback.xml
LogUtil. Config file:///home/soundnotation/audiveris/res/logback.xml
INFO  []                       CLI 206  | CLI args: []
LogUtil. Logging to /home/soundnotation/.cache/AudiverisLtd/audiveris/log/20180125T170816.log
INFO  []                      Main 338  | Environment:
- Audiveris:    5.1.0:1be12f4
- OS:           Linux 4.4.0-104-generic
- Architecture: amd64
- Java VM:      Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
- OCR Engine:   Tesseract OCR, version 3.04.01
INFO  []             AliasPatterns 143  | Alias patterns: [(IMSLP[0-9]*)-.*]
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
        at org.jdesktop.application.ResourceMap.<clinit>(ResourceMap.java:1354)
        at org.jdesktop.application.ResourceManager.createResourceMap(ResourceManager.java:468)
        at org.jdesktop.application.ResourceManager.createResourceMapChain(ResourceManager.java:151)
        at org.jdesktop.application.ResourceManager.createResourceMapChain(ResourceManager.java:150)
        at org.jdesktop.application.ResourceManager.getApplicationResourceMap(ResourceManager.java:170)
        at org.jdesktop.application.ResourceManager.getResourceMap(ResourceManager.java:307)
        at org.jdesktop.application.ApplicationContext.getResourceMap(ApplicationContext.java:206)
        at org.jdesktop.application.Application.create(Application.java:250)
        at org.jdesktop.application.Application$1.run(Application.java:185)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at sun.awt.HeadlessToolkit.getMenuShortcutKeyMask(HeadlessToolkit.java:236)
        at org.jdesktop.application.ResourceMap$KeyStrokeStringConverter.<clinit>(ResourceMap.java:1511)
        ... 23 more

XML export doesn't work in 5.0.0

Steps to reproduce:

  • open "allegretto.png" from data/examples in Audiveris 5.0.0
  • transcribe it
  • save the result as MusicXML using "Export Sheet as..."
  • open the saved MusicXML in Musescore

Although the resulting MusicXML is valid, it doesn't contain any music.

The commit causing the issue has been identified using git bisect:

first bad commit: 0b23b0bfa0f765c0a0966eb4137c44868d798936 Handling of Transcribable for book & sheet

Popup menus in the score canvas don't show on Mac

Right click on the score canvas should bring up popup menus. Unfortunately, it doesn't work on Mac.

The code responsible for handling click events is located in UIPredicates class.

There is Mac-specific code in the isContextWanted method:

public static boolean isContextWanted (MouseEvent e)
{
    if (WellKnowns.MAC_OS_X) {
        return e.isPopupTrigger();
    } else {
        return SwingUtilities.isRightMouseButton(e) && !SwingUtilities.isLeftMouseButton(e);
    }
}

It looks like e.isPopupTrigger()never evaluates to true on JRE7 and later. Why? To be investigated and fixed.

Cannot run the audiveris.jar file

Build was successful and could run the program with gradle run
But when I tried to run the jar file, I got the error: no main manifest attribute, in audiveris.jar

impossible to define triplets over quarter-notes manually

blues and trouble2

The appended score contains a couple of triplets over quarter notes. It is not possible to define these triplets manually:
(TupletInter{#0 MANUAL(1.000) TUPLET_THREE} null sequence in TUPLET_THREE: 0
TupletInter{#7527 MANUAL(1.000) s:7 TUPLET_THREE} null sequence in TUPLET_THREE: 0)

Java Platform SE Binary stopped working

Hi,
I went through a relatively long process to setup Audiveris, and succeeded to get it run. But there is no way to use it; Java crashes directly when trying to open a menu item (just hovering on the menu, not even clicking on it) "Java(TM) Platform SE Binary a cessé de fonctionner".
Steps followed:

  • installation of Java 8.131 and Java SDK 8.131 (64 bits) on Windows 10 64 bits (removing previous versions and re-installing)
  • installation of Git 2.13.0
  • installation of Gradle
  • Initial "gradle build" failed due to same issue as #15 Can't run Audiveris
  • "git clone https://github.com/Audiveris/audiveris.git" ok
  • "grade build" failed during test with Ghostscript
  • installation Ghostscript 9.1
  • "Gradle build" ok
  • "gradle run": ok but "Java Platform SE Binary stopped working while hovering on the menu
  • several trials to rebuild ("gradle :clean" and then "gradle build"): no change.
  • delete audiveris folder, new Git clone, gradle build and gradle run: no change

I attach the "gradle build" trace and the "gradle run -stacktrace".
build_23052017.txt
run_stacktrace_23052017.txt

Build hangs at 81%, 2 failed tests

org.audiveris.omr.moment.LegendreMomentsTest > testAllShapes FAILED
java.lang.ExceptionInInitializerError at LegendreMomentsTest.java:26
Caused by: org.audiveris.omr.WellKnowns$InstallationException at LegendreMomentsTest.java:26

org.audiveris.omr.moment.ARTExtractorTest > testAllShapes FAILED
java.lang.NoClassDefFoundError at ARTExtractorTest.java:27

Building 81% > :test > 102 tests completed, 2 failed

I'm running debian stretch with openjdk version "1.8.0_141"
OpenJDK Runtime Environment (build 1.8.0_141-8u141-b15-1~deb9u1-b15)
OpenJDK 64-Bit Server VM (build 25.141-b15, mixed mode)

Error loading pdf

Hi,
when opening a .pdf, I get the following error:

INFO  []                      Main 338  | Environment:
- Audiveris:    5.0.0:04e0239
- OS:           Linux 4.2.0-42-generic
- Architecture: amd64
- Java VM:      OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
- OCR Engine:   Tesseract OCR, version 3.04.01
INFO  []             AliasPatterns 121  | Alias patterns: [(IMSLP[0-9]*)-.*]
INFO  []               Nd4jBackend 194  | Loaded [CpuBackend] backend
INFO  []           NativeOpsHolder 38   | Number of threads used for NativeOps: 4
INFO  []        AbstractClassifier 323  | Classifier data loaded from default file:///home/user/source/audiveris/res/basic-classifier.zip
INFO  [Dvorak-B17-v2]                 BasicBook 356  | 22 sheets in /home/user/Documents/cur/Dvorak-B17-v2.pdf
WARN  [Dvorak-B17-v2#1]                 BasicStub 836  | Error in LOAD java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
	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:819)
	at org.audiveris.omr.sheet.BasicStub.reachStep(BasicStub.java:558)
	at org.audiveris.omr.sheet.ui.StubsController.checkStubStatus(StubsController.java:816)
	at org.audiveris.omr.sheet.ui.StubsController.access$200(StubsController.java:91)
	at org.audiveris.omr.sheet.ui.StubsController$3.call(StubsController.java:508)
	at org.audiveris.omr.sheet.ui.StubsController$3.call(StubsController.java:499)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ExceptionInInitializerError: null
	at de.intarsys.pdf.platform.cwt.font.freetype.FreetypeFontFactory.getLibrary(Unknown Source)
	at de.intarsys.pdf.platform.cwt.font.freetype.FreetypeFontFactory.createPlatformFont(Unknown Source)
	at de.intarsys.pdf.platform.cwt.rendering.CSPlatformDevice.textSetFont(Unknown Source)
	at de.intarsys.pdf.content.CSDeviceBasedInterpreter.render_Tf(Unknown Source)
	at de.intarsys.pdf.content.CSInterpreter.process(Unknown Source)
	at de.intarsys.pdf.content.CSInterpreter.process(Unknown Source)
	at de.intarsys.pdf.content.CSDeviceBasedInterpreter.process(Unknown Source)
	at org.audiveris.omr.image.ImageLoading$JPodLoader.getImage(ImageLoading.java:462)
	at org.audiveris.omr.sheet.BasicBook.loadSheetImage(BasicBook.java:977)
	at org.audiveris.omr.step.LoadStep.doit(LoadStep.java:71)
	at org.audiveris.omr.step.Step.doit(Step.java:168)
	at org.audiveris.omr.sheet.BasicStub$4.call(BasicStu809)va:
	at org.audiveris.omr.sheet.BasicStub$4.call(BasicStub.java:797)
	... 4 common frames omitted
Caused by: java.lang.NullPointerException: no native interface available
	at de.intarsys.nativec.api.NativeInterface.set(Unknown Source)
	at de.intarsys.nativec.api.NativeInterface.get(Unknown Source)
	at de.intarsys.cwt.freetype.nativec._FTNI.init(Unknown Source)
	at de.intarsys.cwt.freetype.nativec._FTNI.<init>(Unknown Source)
	at de.intarsys.cwt.freetype.Freetype.<clinit>(Unknown Source)
	... 17 common frames omitted
INFO  [Dvorak-B17-v2#1]                 BasicStub 841  | Cause java.lang.ExceptionInInitializerError
INFO  [Dvorak-B17-v2#1]                 BasicStub 565  | StepException detected in [LOAD, BINARY]

Loading and converting a .jpg score works fine, though. I'm quite pleased with the results so far.

problems with recognition of triplets

coharm - ein freund-stimmen-02

the appended file contains a lot of triplets. Unfortunately most of them are not recognized. Maybe the problem is simply in some wrong defined default values for the symbols recognition(?).

Error with imageio spi

Hi,
I have just build audiveris from the git clone. But when I try to run it I get an error at the end for which I cannot find a solution. I use
export TESSDATA_PREFIX=/usr/share/tesseract-ocr/tessdata
to make tesseract find its data and run audiveris with
gradle run -Dorg.gradle.java.home=/usr/local/jdk1.8.0_92

The error I get with SchbAvMaSample.pdf is at the end
[SchbAvMaSample] stem(3 max:4)
Classifier data loaded from default file:///home/jhe/incoming/audiveris/res/deep-classifier.zip
[SchbAvMaSample] BeamDistance{count:40 mean:14.11 stdDev:0.30}
[SchbAvMaSample] Error in TEXTS java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: com/twelvemonkeys/imageio/spi/ImageReaderSpiBase

I cannot at all open the .png examples, if I try I get a similar error on the console
SEVERE: org.audiveris.omr.sheet.ui.BookActions$LoadImageTask@12d0aea7 failed: java.lang.NoClassDefFoundError: Could not initialize class javax.imageio.ImageIO
java.lang.NoClassDefFoundError: Could not initialize class javax.imageio.ImageIO

Could somebody point me to my error ?
Thanks in advance
regards
Johannes

Can't Run Audiveris

New user to GitHub, so don't judge too harshly... but I can't seem to get the Audiveris program to run, even though I have the required Java SDK, Gradle, Git, Tesseract, etc. installed as listed in the readme.

It just says to issue 'gradle run' to launch it as a GUI tool, but neither that nor any other combination of 'gradle build' or 'gradle init' or otherwise appears to get any results. Am I missing something?

Cannot install audiveris on Windows: BasicTest. initializationError

Hi,
I tried installing audiveris on Windows, closely following the steps given on the main github page. But it wont work. Here are the test results after the command "gradle build":

179 tests 7 failures 0 ignored 2.201s duration
BasicTest. initializationError
TestFacade. initializationError
TestCompound. initializationError
TestEntity. initializationError
TestRefs. initializationError
TableTest. initializationError
RunTableBindingTest. initializationError

Here are the details on initializationError (sorry it's long):
java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3139)
at java.base/java.lang.Class.getMethodsRecursive(Class.java:3280)
at java.base/java.lang.Class.getMethod0(Class.java:3266)
at java.base/java.lang.Class.getMethod(Class.java:2063)
at org.junit.internal.builders.SuiteMethodBuilder.hasSuiteMethod(SuiteMethodBuilder.java:20)
at org.junit.internal.builders.SuiteMethodBuilder.runnerForClass(SuiteMethodBuilder.java:13)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:86)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:57)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
at com.sun.proxy.$Proxy3.processTestClass(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:108)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:146)
at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:128)
at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
... 40 more

When I try "gradle run", I also get an error (which seems to be the same):
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at org.audiveris.omr.sheet.BookManager.(BookManager.java:128)
at org.audiveris.omr.sheet.BookManager.getInstance(BookManager.java:313)
at org.audiveris.omr.Main.main(Main.java:140)
at Audiveris.main(Audiveris.java:49)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
... 4 more

Could anyone help me?

Best regards,
Vincent

Chords recognition and wrong export

At the moment the program refuses to regognize chords, and if sth is reconized it is not written as chord into the music xml. How good are chords supported yet? Is it important that they are English(A Bb B C C#...) or will it work with German (A Bb H C C#...) and Complete German (A B H C C#) as well? Will it care if it's F# or Fis? How close do they have to be to the line or the note head? Are chord tables supported? What about special chords Cmaj7 where the 7 is printed in superscript?

NullPointerException in LEDGERS step

I am not sure if this could be related to #25 , but I got this error when trying to transcribe a sheet from a pdf

WARN [173633489-Sing-Sing-Sing-Score-PDF-July-29-2011-11-10-Am-389k#1] BasicStub 841 | Error in LEDGERS 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:824)
at org.audiveris.omr.sheet.BasicStub.reachStep(BasicStub.java:564)
at org.audiveris.omr.step.ui.StepMenu$StepAction$1.doInBackground(StepMenu.java:168)
at org.audiveris.omr.step.ui.StepMenu$StepAction$1.doInBackground(StepMenu.java:144)
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.NullPointerException: null
INFO [173633489-Sing-Sing-Sing-Score-PDF-July-29-2011-11-10-Am-389k#1] BasicStub 846 | Cause java.lang.NullPointerException
INFO [173633489-Sing-Sing-Sing-Score-PDF-July-29-2011-11-10-Am-389k#1] BasicStub 571 | StepException detected in [LEDGERS]
INFO [173633489-Sing-Sing-Sing-Score-PDF-July-29-2011-11-10-Am-389k#1] StepMenu 169 | End of sheet step LEDGERS

Manual for audiveris?

Is there a manual available somewhere? Even a short tutorial to main functions of the software would be super-helpful. :)

I tried to find one by:

However a full manual isn't necessary for my current needs. They would be satisfied if I knew how to begin (besides random tinkering). For example it would be nice to

  • train the classifier for certain symbols with samples
  • familiarize myself with the effects of the various options:

Example 1 (on treble clef):

screen shot 2018-01-31 at 3 09 57

Challenge: the beam is not recognized. The notehead for the G is correctly classified but at some point it is discarded. I tried to half-blindly adjust various beaming options but with no luck.

Example 2 (on bass clef):

screen shot 2018-01-31 at 3 21 33

The eight rest is not recognized on this multivoice system. It seems that this would need some tweaking of SYMBOL recognition but I have no idea what to do.

Any suggestions would be much appreciated. :)

Student project,

Hi, I really like the idea of the project 'audiveris', while I am working at Brno University of Technology, where we have expertise both in computer vision, machine learning and computer-based speech processing (I am working on git-project kaldi).
I was wondering, if there would be some 'work package' suitable as a final project for a master student that I would supervise (only formally, but still I'd like to be `in the information loop' :) ). The student could either work remotely or we could arrange it as an internship with some suitable funding, or a combination of both (that would be easy if you are also in academics, but it's not a big deal). What would you think about it?
With kind regards,
Karel Vesely.

Use of CLI

Is it still possible to use the command line interface for Audiveris ?

Java: Out of memory when translating

Translating a pdf with about 90 pages. Java complains that there is a max memory limit of 1G. The machine has only 4gb of memory with only about 2gb free before opening audiveris. Audiveris will translate a few pages but then it will hit a memory limit on many other pages. Is there any workaround for this? Excellent application by the way. Well done 👍

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.