You need mido
, numpy
, scipy
, and matplotlib
. If you are using Anaconda to manage your python environment, simply use the following command to create a new environment identical to ours:
conda env create -f environment.yml && conda activate composition
To compose a piece of music with our algorithm, please run this single command:
python genetic_algo.py