r/programming • • Oct 26 '26

Building a music engraving engine from scratch

https://noteuniverse.com/blog/building-a-music-engraving-system/
36 Upvotes

4 comments sorted by

6

u/kopophobia Oct 26 '26

Author here. I thought this would be an interesting article to share, especially for the musically inclined among us! The testing strategies I used were also slightly different to what you'd do for most programming tasks. I leant heavily on visual testing, and built a custom harness to aide with screenshot generation.

Happy to answer any questions :)

4

u/evaned Oct 27 '26

I thought this would be an interesting article to share, especially for the musically inclined among us!

Interesting, but I'm especially looking forward to the "Falsehoods" article that you tease!

I haven't written engraving software of course... but I have written a little bit of code in Lilypond, which means that I've written a couple bugs in Lilypond code, including one that you might find amusing ;-)

Maaaaaybe sorta kinda got my octaves wrong...

1

u/huangsara-43824 22d ago

The screenshot harness sounds like the difference between visual testing and just staring at sheet music until your eyes cross.

3

u/ljud Oct 27 '26

Right on bro, I am also working on a a music engraver, its really fun. We seem to have converged on similar ideas.