Skip to main content

“Music Theory” (musictheory) is a package designed to investigate the question “Which chords go with which scales?” A couple of years ago, the author was very interested and obsessed in the question, and decided to put his Python skills to the task. Along the way, the musictheory package was redesigned to be more flexible and extendible.

The package has roughly the same philosophy as Music Set Theory but uses different terminology.

Documentation

The best thing to do is look at the source code. It contains an excess of documentation strings. Hopefully it makes things clearer.

Installation

You can get the application from PyPI through the command:

pip install musictheory

Testing

Testing can be performed by executing the following code in the setup directory:

python -m test.test_all

License

The software has been released using a 3 clause Berkeley Software Distribution (BSD) license. See LICENSE.txt for more information.

Versions

  • 0.1 (May 1th 2011) - Create setup script for files.

  • 0.2 (May 11th 2011) - Remove bugs for working with chordgenerator.

  • 0.3 (June 6th 2011) - Add license information. Add more scales.

  • 0.4 (April 24th 2013) - Try to make a half-decent PyPI package.

  • 0.5 (August 14th 2014) - Add some experimental suspended chords.

  • 0.6 (December 6th 2020) - Updated for Python 3.0 compatibility.

Release files for musictheory 0.6.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for musictheory 0.6.0.1
File Size Uploaded
musictheory-0.6.0.1.tar.gz 24.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for musictheory 0.6.0.1
File Interpreter ABI Platform
musictheory-0.6.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 50.3 kB

Release files / musictheory-0.6.0.1.tar.gz

Download URL musictheory-0.6.0.1.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2a602a01e22a8c849d219d70eea80ddfe78029a532be1852ae6fb3a5f2896920
BLAKE2b-256 checksum
How to use checksums
4e37e2245c1274065dc05e8947f0f57fdb35374fcd6ad06b96496128ceec8770
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2

Release files / musictheory-0.6.0.1-py3-none-any.whl

Download URL musictheory-0.6.0.1-py3-none-any.whl
Size 26.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8c26334aa717dc864164fb2aa8b1aea53a0d5572b8e781ec468306f167f83eb
BLAKE2b-256 checksum
How to use checksums
63c48a4d8fe52aafb719359b8955e7f3ed943e4f15cd569ea98b2110663bc41a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.6.0.1 This release

2 release files

0.6

2 release files

0.5

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4

1 release file

0.3

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page