Skip to main content

Graph-Oriented Computer-Assisted Composition in Python

Project description

Klotho

Klotho is an open source computer-assisted composition toolkit implemented in Python. It is designed to work in tandem with external synthesis applications and as a general resource for the methods, models, works, and frameworks associated with the art and craft of music composition and metacomposition.


Installation

Klotho works as both a Python scripting toolkit and 'on-the-fly' via a Python interpreter.

Option 1: Install from PyPI (Recommended)

pip install klotho-cac

Option 2: Install from Source

  1. Clone the Repository:

    First, clone the Klotho repository by running the following command in your terminal or command prompt:

    git clone https://github.com/kr4g/Klotho.git
    
  2. Navigate to the Klotho/ Directory:

    cd Klotho/
    
  3. Install in Development Mode:

    Install Klotho in development mode (recommended for development):

    pip install -e .
    

    Or install the required dependencies separately:

    pip install -r requirements.txt
    

About

Klotho extends from a lineage of CAC-oriented theories and softwares. This means that, while Klotho provides many classes and functions for 'standard' music materials, its strengths are best utilized when working with more complex, abstract, or otherwise unconventional materials not easily accessible with standard notation softwares.

The ethos of Klotho draws heavily from the concepts and computations possible with patching-based softwares like OpenMusic (which also influenced Bach and Cage for Max).

Klotho seeks to avoid this patching paradigm in favor of a high-level scripting syntax that more closely resembles the underlying mathematical expressions at play when working with computational composition tools. Many of Klotho's core features, particularly in the implementation of Rhythm Trees, adhere to a "LISP-like" presentation and programming paradigm inspired by the underlying Common LISP source code for OpenMusic. It is then also closer to the abstract, algebraic language of music in its symbolic representations.

License

Klotho by Ryan Millett is licensed under CC BY-SA 4.0.

CC Icon BY Icon SA Icon

Klotho © 2023 by Ryan Millett is licensed under CC BY-SA 4.0. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/


Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

klotho_cac-2.4.0.tar.gz (110.5 kB view details)

Uploaded Source

Built Distribution

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

klotho_cac-2.4.0-py3-none-any.whl (134.7 kB view details)

Uploaded Python 3

File details

Details for the file klotho_cac-2.4.0.tar.gz.

File metadata

  • Download URL: klotho_cac-2.4.0.tar.gz
  • Upload date:
  • Size: 110.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for klotho_cac-2.4.0.tar.gz
Algorithm Hash digest
SHA256 ed86714ca45d906aa2d55c20a4fb72b92508d8446e4027e0d8de97d36a98db79
MD5 dd2f1af83c316d4ca3ae210879a7eaef
BLAKE2b-256 149f1a6a1aa67d33865244f5a5f7c65aaaa02d0fb54bdeb34576c2270f547d7c

See more details on using hashes here.

File details

Details for the file klotho_cac-2.4.0-py3-none-any.whl.

File metadata

  • Download URL: klotho_cac-2.4.0-py3-none-any.whl
  • Upload date:
  • Size: 134.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for klotho_cac-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ac5d9083226a27a09500e020ccd2c86e847afae71a9d3927f2e528f3dff0cfa
MD5 10268cd073a41b3266c5635741fe2703
BLAKE2b-256 fc1508a9eb251e1c99a8d09590b9bbf9ba159a35913e01dfac0159264cff2de5

See more details on using hashes here.

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