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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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