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.1.tar.gz (24.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: geniartor-0.1.1.tar.gz
  • Upload date:
  • Size: 24.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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for geniartor-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7e824f518af50cacadbde0216d9a5249a069233048c9b7014c90bbce1753a72f
MD5 d30325ab35b98892d104084d0cbb2708
BLAKE2b-256 963fe9d1e3f2ede07bc12a9414d90d7beb5e3f9e75f41d38d51399e128942ac3

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