Skip to content

Machine composition with genetic algorithm. Group assignment of Music and Mathematics (2024 Fall) at PKU.

Notifications You must be signed in to change notification settings

DigitalOctet/Machine-Composition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Composition Using Genetic Algorithm

Getting Started

Preparations

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

Run

To compose a piece of music with our algorithm, please run this single command:

python genetic_algo.py

About

Machine composition with genetic algorithm. Group assignment of Music and Mathematics (2024 Fall) at PKU.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages