Python has a library called Lilypond which can be used to generate sheet music from a text based input. The documentation shows that the normal use is to create the text fil