Skip to main content

Algorithmic composition of twelve-tone fragments.

Project description

Build Status codecov Maintainability PyPI version

Dodecaphony

Overview

This is a configurable tool that generates twelve-tone fragments. The twelve-tone technique (also known as dodecaphony) is composition method that produces chromatic music which is usually atonal (although, not necessarily). One of the core properties of twelve-tone music is its global coherency achieved by deriving content from the same sequence of 12 unique pitch classes.

Each run of the tool results in creation of a fragment which can be used as a part of a larger composition. These fragments are stored within individual directories containing:

  • MIDI file;
  • WAV file;
  • Events file in sinethesizer TSV format;
  • PDF file with sheet music and its Lilypond source;
  • YAML file that can be copied to a config for a derivative fragment.

A demo piece compiled from various outputs of the tool is included in the repository as MIDI file. There, velocities and control changes are set manually, however.

Installation

To install a stable version, run:

pip install dodecaphony

Usage

To create a new musical fragment, run:

python -m dodecaphony [-c path_to_config]

Default config is used if -c argument is not passed. Advanced usage will be covered in a special guide, but right now you can read the source code — it is structured and has built-in documentation.

If you are on Mac OS, please check that parallelism is enabled.

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

dodecaphony-0.1.4.tar.gz (35.7 kB view details)

Uploaded Source

Built Distribution

dodecaphony-0.1.4-py3-none-any.whl (38.0 kB view details)

Uploaded Python 3

File details

Details for the file dodecaphony-0.1.4.tar.gz.

File metadata

  • Download URL: dodecaphony-0.1.4.tar.gz
  • Upload date:
  • Size: 35.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.4.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for dodecaphony-0.1.4.tar.gz
Algorithm Hash digest
SHA256 543d6942fc17a245f79af82fa49d9008225de776f79e37db362d01c78119aebd
MD5 2733e3d8cb01371f61fdc22d9d542e5d
BLAKE2b-256 dbcdeb613b23723dea0b1420ebb3be3e3de7fc4bfd78cc2bc4581b6b9a04c49f

See more details on using hashes here.

File details

Details for the file dodecaphony-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: dodecaphony-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 38.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.4.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for dodecaphony-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0ea3d1216899a7e7620833f33d79f2aa245571b0e76acd320d9d1504e24dfdf8
MD5 0ab3e70b66b926f5014110198500fb2e
BLAKE2b-256 b0afc17080dcf9bd1a6e46295a3e540ef1f56e49b32890e5fa23c833d710762d

See more details on using hashes here.

Supported by

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