{"id":13862271,"url":"https://github.com/Nikolay-Lysenko/dodecaphony","last_synced_at":"2025-07-14T11:33:07.836Z","repository":{"id":46379404,"uuid":"363740979","full_name":"Nikolay-Lysenko/dodecaphony","owner":"Nikolay-Lysenko","description":"Algorithmic composition of modern classical music in the twelve-tone technique.","archived":false,"fork":false,"pushed_at":"2024-08-06T09:48:48.000Z","size":212,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-10T02:42:24.304Z","etag":null,"topics":["ai-music","algorithmic-composition","atonal","dodecaphony","serialism","twelve-tone"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nikolay-Lysenko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-02T20:12:37.000Z","updated_at":"2024-09-10T14:34:05.000Z","dependencies_parsed_at":"2024-08-04T15:01:16.696Z","dependency_job_id":"66b04fb9-10e6-4646-bca6-8ffa8c6048ed","html_url":"https://github.com/Nikolay-Lysenko/dodecaphony","commit_stats":{"total_commits":73,"total_committers":1,"mean_commits":73.0,"dds":0.0,"last_synced_commit":"2b1d7505c6b37b55d5deaf1dd767d195efb26fa4"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikolay-Lysenko%2Fdodecaphony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikolay-Lysenko%2Fdodecaphony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikolay-Lysenko%2Fdodecaphony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikolay-Lysenko%2Fdodecaphony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nikolay-Lysenko","download_url":"https://codeload.github.com/Nikolay-Lysenko/dodecaphony/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225974388,"owners_count":17553942,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-music","algorithmic-composition","atonal","dodecaphony","serialism","twelve-tone"],"created_at":"2024-08-05T06:01:40.880Z","updated_at":"2024-11-22T22:30:50.344Z","avatar_url":"https://github.com/Nikolay-Lysenko.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"[![Build Status](https://github.com/Nikolay-Lysenko/dodecaphony/actions/workflows/main.yml/badge.svg)](https://github.com/Nikolay-Lysenko/dodecaphony/actions/workflows/main.yml)\n[![codecov](https://codecov.io/gh/Nikolay-Lysenko/dodecaphony/branch/master/graph/badge.svg)](https://codecov.io/gh/Nikolay-Lysenko/dodecaphony)\n[![Maintainability](https://api.codeclimate.com/v1/badges/b83bc51361ac046bc7eb/maintainability)](https://codeclimate.com/github/Nikolay-Lysenko/dodecaphony/maintainability)\n[![PyPI version](https://badge.fury.io/py/dodecaphony.svg)](https://pypi.org/project/dodecaphony/)\n\n# Dodecaphony\n\n## Overview\n\nThis is a configurable tool that generates music written in [the twelve-tone technique](https://nikolay-lysenko.github.io/2024/04/30/introduction-to-twelve-tone-technique). In short, this means that the output pieces are based on different principles than the vast majority of classical and popular music. If you have never listened to the twelve-tone works, you may find them not ear-pleasant, but, given enough experience, you can change your mind. Twelve-tone music is logic-oriented and has many symmetries, so it is a good choice for combinatorial optimization.\n\nEach 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 in separate directories containing:\n* MIDI file\n* WAV file\n* Events file in [sinethesizer](https://github.com/Nikolay-Lysenko/sinethesizer) TSV format\n* PDF file with sheet music and its Lilypond source\n* YAML file that can be copied to a config for a derivative fragment\n* Text file with meta information (such as path to config and evaluation scores)\n\nWith this tool, I released a 26-minutes album on Spotify and many other streaming platforms. However, main melodies for the album were written manually by myself and a lot of hard work was done with configs, but, nevertheless, the package really helped to generate background melodies. To read more about the album, please visit its [official page](https://nikolay-lysenko.github.io/2024/05/31/suite-for-virtual-pipe-organ-op1).\n\n## Installation\n\nTo install a stable version, run:\n```bash\npip install dodecaphony\n```\n\n## Usage\n\nTo create a new musical fragment, run:\n```bash\npython -m dodecaphony [-c path_to_config]\n```\n\n[Default config](https://github.com/Nikolay-Lysenko/dodecaphony/blob/master/dodecaphony/configs/default_config.yml) is used if `-c` argument is not passed. To create your own config, please look at [this example](https://github.com/Nikolay-Lysenko/dodecaphony/blob/master/docs/config_with_explanations.yml) with detailed explanations. Also, you can read the source code — it is structured and has built-in documentation.\n\nIf you are on macOS, please make sure that [parallelism is enabled](https://stackoverflow.com/questions/50168647/multiprocessing-causes-python-to-crash-and-gives-an-error-may-have-been-in-progr).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNikolay-Lysenko%2Fdodecaphony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNikolay-Lysenko%2Fdodecaphony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNikolay-Lysenko%2Fdodecaphony/lists"}