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

Uploaded Source

File details

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

File metadata

  • Download URL: midi_generator-1.1.tar.gz
  • Upload date:
  • Size: 303.1 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.1.tar.gz
Algorithm Hash digest
SHA256 733ff76e805a645a55007732a48930109c03e707ae5453f3247a2321c60e366d
MD5 b054a00c37212e0f453bc9dd848d95ea
BLAKE2b-256 22c77cf9fa99f6e842b0a79a559cd63529e8d6bcc9784b056ed43128baa57344

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