r/java Jul 24 '26

Sheetmusic4J: an open source JavaFX library for rendering interactive sheet music (MusicXML, no WebView)

/r/java_projects/comments/1v59fsq/sheetmusic4j_an_open_source_javafx_library_for/
36 Upvotes

9 comments sorted by

2

u/nlisker Jul 25 '26

Very nice!

It would be beneficial to be able to parse an engraved PDF. There are some applications that can do it, but not many (free ones).

1

u/FrankCodeWriter Jul 28 '26

That seems like a hard job... Would mean there is some computer vision library needed to "understand" what's on the PDF. Let me think about it... ;-)

1

u/nlisker Jul 28 '26

You don't need OMR. An engraved PDF contains a textual representation of the sheet music, with fonts and characters. It's not an image file. You can actually select individual notes with the mouse like you do with letters.

OMR is very hard and there are competing expensive solutions.

3

u/FrankCodeWriter Jul 28 '26

Aha, in that case, that's a great idea! Can you provide a few of such PDF examples files in this GitHub issue, so I can further investigate?

https://github.com/sheetmusic4j/sheetmusic4j/issues/6

2

u/nlisker Jul 28 '26

Posted on GH.