Skip to main content

A cli tool for testing the permutations of diminished seventh chord transformations.

Project description

Tritone Rotations

tritone-rotations is a command-line tool for analyzing and generating transformations of diminished seventh chord sequences. It provides functionality for applying structured chromatic rotations, visualizing transformations, and exporting results in JSON format.

Features

  • Generate all possible transformations of a diminished seventh chord by shifting notes chromatically.
  • Analyze chord structures using music21.
  • Optional plotting of transformations using matplotlib.
  • Export results to JSON for integration with other tools.

Installation

Using pip:

pip install tritone-rotations

Or, build from source:

python setup.py sdist bdist_wheel
pip install dist/tritone_rotations-0.1.0-py3-none-any.whl

Usage

Basic Usage

tritone-rotations --root C --naming flat --operation sequential

This generates transformations for the diminished seventh chord by transforming sequential notes. [C, EB, Gb, A] -> [Cb, D, Gb, A].

Display Help

tritone-rotations --help

Shows available commands and options.

Enable Plotting

tritone-rotations --root C --naming flat --operation sequential
 --plot

Displays a matplotlib plot of transformations.

Output as JSON

tritone-rotations --root C --naming flat --operation sequential --json

Returns the transformations as structured JSON output.

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tritone_rotations-0.1.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tritone_rotations-0.1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file tritone_rotations-0.1.1.tar.gz.

File metadata

  • Download URL: tritone_rotations-0.1.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for tritone_rotations-0.1.1.tar.gz
Algorithm Hash digest
SHA256 533d49653c8ebaa302e627b929abf6150824d0333fcf4cec97ad2e0e512ad0a6
MD5 2a9c076abb31651118d103845d63d837
BLAKE2b-256 9e5ddd7d739fb0d368ee1fd588fe1de93803dc8ee09a7acb1dc8eb6beeae7bf1

See more details on using hashes here.

Provenance

The following attestation bundles were made for tritone_rotations-0.1.1.tar.gz:

Publisher: python-publish.yml on KyleDickersonComposer/tritone-rotations

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tritone_rotations-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tritone_rotations-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09af90545f169bb10a28a2506bf138d1b83cc29eeea68fe72a6e13b589fbeb8b
MD5 9a96d83c31a0115026d1586b6e860cb9
BLAKE2b-256 e747a4d32229d81eb3e7a21ecdb3a5526b6fcf41f07f1c648d62b8bff9747de6

See more details on using hashes here.

Provenance

The following attestation bundles were made for tritone_rotations-0.1.1-py3-none-any.whl:

Publisher: python-publish.yml on KyleDickersonComposer/tritone-rotations

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page