Skip to content
Switch branches/tags


Failed to load latest commit information.
Latest commit message
Commit time


music21 -- A Toolkit for Computational Musicology

Copyright © 2006-2021, Michael Scott Cuthbert and cuthbertLab

For more information, visit:

And to install, see:

Music21 runs on Python 3.7+. Use version 4 on Python 2 or Py3.4, version 5 on Py3.5, version 6 on Py3.6.

Released under the BSD (3-clause) license. Music21 may also be used under the LGPL license. See LICENSE. Externally provided software (including the MIT licensed Lilypond/MusicXML test Suite) and music encoding in the corpus may have different licenses. A no-corpus version of music21 is available also on GitHub.

Build Status Lint Status Coverage Status


User's Guide

Module Documentation

Mailing list


Contributing Guide

Contributing Guide

Community Code of Conduct

Music21 encourages contributions, discussions, and usage from all people interested in music and computers. This encouragement extends to all people regardless of (among other aspects) gender, race, sexual orientation, disability, religion, appearance, veteran status, gender identity, socioeconomic status, or nationality.

Members of the community will strive to be friendly, patient, and welcoming, especially of viewpoints and experiences different from our own. We reject harassment and contributions (in mail, comments, or code) that belittle individuals or groups of people.

We ask all members of the community to be mindful particularly about assumptions of the gender of users (choice of pronouns in comments and code). We recognize that members sometimes make mistakes and will, in general, accept sincere regrets for such cases. Blatant or repeated violations of the code will result in the removal of the contributor’s participation in the community.

The maintainers of music21 and associated sites will commit themselves to enforcing this code of conduct. Users who notice violations, including instances of abuse, harassment, or otherwise unacceptable behavior are requested to contact Maintainers will respect confidentiality with regard to reports.