/ai-music-genetic-algorithm

Artificial intelligence for generating music using a genetic algorithm, implemented with Python and MIDI.

Primary LanguagePythonMIT LicenseMIT

AI Generate Music Using a Genetic Algorithm with Python and MIDI

This project uses python version 3.11. Example dependency install with Anaconda

conda create -n py311 python=3.11 anaconda

conda activate py311

conda install -c cogsci pygame

conda install MIDIUtil

conda install --file requirements.txt

Run the genetic algorithm:

python main.py