Sign inSign up

louie8821/audiveris

By louie8821

•Updated over 1 year ago

Image
0

267

louie8821/audiveris repository overview

⁠Audiveris for Drum


⁠Supported File Formats

⁠Supports conversion of PDF, PNG, JPG music sheet files.

⁠Conversion Result

⁠This docker image provides the result of conversion of the input sheet music in both xml and mxl formats.
⁠The name of the conversion result file is output.xml and output.mxl.
.
├── output.mxl
└── output.xml


⁠Tags

⁠drum : tag for stable image

⁠Internal Execution Script

⁠Images are processed by running Audiveris internally using a shell script.
#!/bin/sh

/audiveris-extract/app*/bin/Audiveris -batch \
    -force -save -export \
    -output /res/ \
    -constant org.audiveris.omr.sheet.ProcessingSwitches.crossHeads=true \
    -constant org.audiveris.omr.sheet.ProcessingSwitches.smallHeads=true \
    -constant org.audiveris.omr.sheet.ProcessingSwitches.smallBeams=true \
    -constant org.audiveris.omr.sheet.ProcessingSwitches.tremolos=true \
    -constant org.audiveris.omr.sheet.ProcessingSwitches.oneLineStaves=true \
    -constant org.audiveris.omr.sheet.ProcessingSwitches.drumNotation=true \
    -constant org.audiveris.omr.sheet.ProcessingSwitches.frets=true \
    -constant org.audiveris.omr.sheet.note.NoteHeadsBuilder.dumpTemplateNotes=true \
    -constant org.audiveris.omr.score.DrumSet.dumpDrumSet=false \
    -constant org.audiveris.omr.sheet.note.NoteHeadsBuilder.crossBoost=0.2 \
    $(ls /input/*.jpg /input/*.png /input/*.pdf)
    
unzip -p /res/*.mxl '*.xml' > /output/output.xml
cp /res/*.mxl /output/output.mxl

⁠How to Use

⁠1. Pull the Docker Image
⁠<TAG-NAME>: Image tag name.
docker pull louie8821/audiveris:<TAG-NAME>
⁠2. Run as a Docker Container
⁠<PATH-TO-INPUT>: Directory path on the host environment containing the music sheet files to convert.
⁠<PATH-TO-OUTPUT>: Location of the host environment where conversion results will be stored
⁠<TAG-NAME>: Image tag name.
docker run --rm -v "<PATH-TO-INPUT>:/input" -v "<PATH-TO-OUTPUT>:/output" louie8821/audiveris:<TAG-NAME>

Tag summary

Content type

Image

Digest

sha256:dfab21760…

Size

317.6 MB

Last updated

over 1 year ago

docker pull louie8821/audiveris:drum