Skip to main content

Music composition by optimizing of evaluational scores.

Project description

Build Status codecov Maintainability PyPI version

Geniartor

Overview

This is a configurable tool that generates musical phrases or even short pieces.

Here, the process of composition is framed as follows: Variable Neighborhood Search (VNS) is applied to maximize user-defined weighted sum of evaluational criteria.

Each run of the tool results in creation of a directory that contains:

  • MIDI file;
  • WAV file;
  • Events file in sinethesizer TSV format;
  • PDF file with sheet music and its Lilypond source.

Sample outputs produced by the tool are uploaded to a cloud storage.

Installation

To install a stable version, run:

pip install geniartor

Usage

To create a new musical phrase, run:

python -m geniartor \
    [-c path_to_config] \
    [-n number_of_search_passes]

Both arguments are optional. Default config is used if -c argument is not passed. Similarly, -n option has a reasonable default too.

Advanced usage is covered in a guide.

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

geniartor-0.1.5.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

geniartor-0.1.5-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file geniartor-0.1.5.tar.gz.

File metadata

  • Download URL: geniartor-0.1.5.tar.gz
  • Upload date:
  • Size: 25.3 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 geniartor-0.1.5.tar.gz
Algorithm Hash digest
SHA256 a1c94d5957fc10b42abb34238789a7a6bb2507a2dc21986c152c56ffea18321d
MD5 66112aa46a43cbbf4e14f3310ac56776
BLAKE2b-256 d062f4ba9d95e9e39539883154fcc67d8535905aa9f4ee5a89880b3664a2fa35

See more details on using hashes here.

File details

Details for the file geniartor-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: geniartor-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 29.3 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 geniartor-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 26eaf1a35ac252bd28118ce3f76955cdf835781a12e9f75725393d44dd5dd566
MD5 85cc1fe537f6ec7b2a3272baae30d36a
BLAKE2b-256 2704dfa8211db2ccaf95cc31a33e99a38342363521a3ab8b33d4370f3e229d78

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