Final project of course Music and Math in PKU, using generic algorithm.
To check your configuration:
python test.py
play_midi_demo.py
shows how to play the music in a midi file using module mido.
convert_midi_demo.py
shows how to convert a midi file into the notes, and needs further improvement.
Among all the musicians, Bach, Clementi and Mozart are selected, and Bach's music is commanded for our task.
see prepare_data.py
python net.py
python ea.py
To use your own fitness function, modify the evaluate
method in class MusicIndivisual