Skip to main content

MIDI Generator for Python using genetic algorithms

Project description

Midi generator using genetic algorithms

Upload Python Package

Requires Python 3.10

Build

python3 -m build
pip install dist/*.whl

Api reference

  • generate(config: Configuration) - generate a note sequence using given configuration
  • mutate(sequence: Sequence, config: Configuration) - mutate sequence
  • continue_sequence(sequence: Sequence, config=Configuration()) - continue sequence
  • combine(sequences: list[Sequence], config: Configuration = Configuration()) - combine sequences
  • write_file(notes: Sequence, path: str) - write midi file containing sequence at given path

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

midi_generator-1.2.2.tar.gz (304.6 kB view details)

Uploaded Source

File details

Details for the file midi_generator-1.2.2.tar.gz.

File metadata

  • Download URL: midi_generator-1.2.2.tar.gz
  • Upload date:
  • Size: 304.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for midi_generator-1.2.2.tar.gz
Algorithm Hash digest
SHA256 35db5762fc8421a73f3b03ae90c47842bd5d2817777332b43fcb576960e2d8f9
MD5 74a7c0f507713936179d9a264f77db6c
BLAKE2b-256 0ab038b4793b6506cf990b6c502d910ef7a001d3e82e44d211a36b469cb5cd47

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