Giter Club home page Giter Club logo

audiveris-docker's Issues

Request

Hello dear friend thanks for your codding.

Can you make it work on a little app for windows 10?

Thanks

Cannot convert PDF to MXL

Hi, I am trying to convert a pdf to a mxl. However, I'm receiving the following error. Does anyone know what is happening and how can I solve it? The PDF is super basic, it's a C major scale written with lilypond.

########################################################


INFO  [test]            StepMonitoring 96   | MEASURES
INFO  [test]                      Page 279  | 2 raw measures: [2 in system#1]
INFO  [test]            StepMonitoring 96   | CHORDS
INFO  [test]            StepMonitoring 96   | CURVES
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f7c1bc8cca0, pid=1, tid=45
#
# JRE version: OpenJDK Runtime Environment (11.0.13+8) (build 11.0.13+8-alpine-r0)
# Java VM: OpenJDK 64-Bit Server VM (11.0.13+8-alpine-r0, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [ld-musl-x86_64.so.1+0x23ca0]

Why are paths hardcoded?

It seems that your paths /input/ and /output/ are hardcoded into the docker image?

  1. Why are those directories at the disk root? That is often read-only.
  2. Why not show how to test on single file first, then batch? I tried that below, and seem to have issues with the
  3. I could have started to fiddle with a usb thumb drive to create /input/ and /output/ at disk root, but that ought not be necessary.

On OSX Monterey using DockerforMac....

$ docker run --rm -v pdf/out/ -v pdf/in/blue_train.pdf toprock/audiveris
ls: cannot access '/input/*.jpg': No such file or directory
ls: cannot access '/input/*.png': No such file or directory
ls: cannot access '/input/*.pdf': No such file or directory
INFO  []                      Main 401  | Environment:
- Audiveris:    5.3-alpha:42d1a847c
- OS:           Linux 5.10.104-linuxkit
- Architecture: amd64
- Java VM:      Java HotSpot(TM) 64-Bit Server VM (build 17.0.2+8-LTS-86, mixed mode, sharing)
- OCR Engine:   Tesseract OCR, version 3.04.01
INFO  []                       CLI 269  | CLI args: [-batch, -export, -output, /output/]
INFO  []             AliasPatterns 131  | Alias patterns: [(IMSLP[0-9]*)-.*]
INFO  []                      Main 158  | Running in batch mode
INFO  []                  Versions 392  | Versions. Poll frequency: Weekly, next poll on: 08-Jan-2000
INFO  []                  Versions 333  | Software version is up-to-date

  1. Also, an example file that you converted would be good for a sample test.

Add option useCompression=false

Would it be possible to add an option so that the mxl file is not compressed, i.e. -option org.audiveris.omr.sheet.BookManager.useCompression=false? The background is that Musescore 4 is not able to import these files directly and you have to manually decompress the file and import the contained XML file.

I tried modifying the Dockerfile file myself, but docker build returns a bunch of errors and the build process fails (on my macOS machine):

CMD ["sh", "-c", "/audiveris-extract/bin/Audiveris -batch -export -option org.audiveris.omr.sheet.BookManager.useCompression=false -output /output/ $(ls /input/*.jpg /input/*.png /input/*.pdf)"]

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.