I'm a python hacker looking to build a sheet music app. I'm comfortable with reading/understanding sheet music (played piano for many years). Here are my complete newbie questions..
Is there a standard for representing notes digitally? I don't want to reinvent any wheels.
Given a sequence of notes and durations, is there a library for displaying these in a sheet music format?
Basically I'm looking for a place to get started. I'm not heavily into graphics, so a existing open-source library would be awesome. If none exists in Python, I'm competent at Java/Javascript/C as well.
Thanks
A brief selection of free sites offering sheet music and scores online: IMSLP/Petrucci Music Library: International Music Score Library Project, sharing the world's public domain music. Choral Public Domain Library: Free choral/vocal scores, texts, translations, and other useful information.
Musescore.com. The world's largest free sheet music catalog and community.
Take a look at lilypond. It uses LaTeX to typeset sheet music. Its input format is simple text, and can be generated pretty easily with Python or whatever.
Abjad is a "Python API for Formalized Score Control" and a wrapper around lilypond, but I haven't used it and so can't vouch for it.
As far as I know, abc notation is still the de facto standard text format in traditional/folk music circles. There is quite a bit of software available for it, including abctool and abc2ly (part of GNU LilyPond), both of which are written in python. Being a self-described python hacker, I imagine you could turn either of these into a library without much trouble.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With