mingus

mingus is a package for Python used by programmers, musicians, composers and researchers to make and analyse music.

mingus is an advanced, cross-platform music theory and notation package for Python with MIDI file and playback support. It can be used to play around with music theory, to build editors, educational tools and other applications that need to process and/or play music. It can also be used to create sheet music with LilyPond.

GitHub