A genetic algorithm for composing music

  • D. Matić

Abstract

In this paper, a genetic algorithm for making music compositions is presented. Position based representation of rhythm and relative representation of pitches, based on measuring relation from starting pitch, allow for a flexible and robust way for encoding music compositions. This approach includes a pre-defined rhythm applied to initial population, giving good starting solutions. Modified genetic operators enable significantly changing scheduling of pitches and breaks, which can restore good genetic material and prevent from premature convergence in bad suboptimal solutions. Beside main principles of the algorithm and methodology of development, in this paper the analysis of solutions in general is also presented, as well as the analysis of the obtained solutions in relation to the key parameters. Some solutions are presented in the musical score.
Published
Oct 11, 2016
How to Cite
MATIĆ, D.. A genetic algorithm for composing music. Yugoslav Journal of Operations Research, [S.l.], v. 20, n. 1, oct. 2016. ISSN 2334-6043. Available at: <http://www.yujor.fon.bg.ac.rs/index.php/yujor/article/view/345>. Date accessed: 02 may 2024.