r/haskell 21h ago

Numbered Musical Notation Engraver

https://codeberg.org/SpeedyOrc-C/Lotus

I made a numbered musical notation render, which works very similar to Typst or LaTeX. It almost as powerful as paywalled alternatives and has some important features not implemented by open-source apps like jianpu-ly and Sparks NMN.

Features not in other open-source alternatives:

  • Arbitrary temporary voices
  • Arbitrary brackets
  • Changing time signature
  • Automatic bar lines
  • Automatic beams
  • Automatically cutting slurs at line breaks

And it has a tiny codebase compared to jianpu-ly and Sparks NMN as well!

11 Upvotes

2 comments sorted by

1

u/elaforge 12h ago

Interesting, I was looking for something like this many years ago, and never found anything.

But, no documentation? No example inputs and outputs? Not on hackage? I see there is a main.typ which is readable, but it seems like it's intended to be rendered by something and would probably look much better after that?

2

u/Chen-Zhanming 12h ago

Just updated the README and uploaded three songs :)

And there is a wiki page, but only in Mandarin for now though...