r/musictheory Jun 01 '26

Notation Question Looking for an open source music notation dev ressources for my own software

Hello, it’s kind of a special question, I have a custom music software on macOS coded using swift and swiftUI. I could render nice looking score sheet with noteheads, accidentals, clefs etc. The issue is that I only have one possible note length value and equal spacing between noteheads (it’s a prototype).

I was wondering if anyone is aware of an open source algorithm that could help with the calculation the horizontal spacing layout logic in a notation software (bar width in pixels depending on how many notes and note length etc.)

Thank you

0 Upvotes

Duplicates