Music composition using Genetic Algorithms.
To run this program, please install timidity (from apt-get) and pyknon sudo pip install pyknon
first.
Clone the repository into your local machine. git clone https://github.com/mehulviby/etunes.git
To run the program type in "python etunes.py <name-of-your-tune>".
The CLI options are
play <tune-number>
- Plays the tunescore <tune-number> <score>
- Scores the tune number (feel free to use your own scale of scoring)done
- Moves to the next generation (selection, cross-over and mutation)choose <tune-number>
- Selects this tune as your final tune and quits the program
The final tunes are stored in the "midi" folder.