A genetic algorithm for composing music
Author:
Open Access
- 1 January 2010
- journal article
- Published by National Library of Serbia in Yugoslav Journal of Operations Research
- Vol. 20 (1) , 157-177
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.Keywords
This publication has 5 references indexed in Scilit:
- A genetic algorithm for composing musicYugoslav Journal of Operations Research, 2010
- Computing minimal doubly resolving sets of graphsComputers & Operations Research, 2009
- Computing strong metric dimension of some special classes of graphs by genetic algorithmsYugoslav Journal of Operations Research, 2008
- The Suitability of Genetic Algorithms for Musical CompositionContemporary Music Review, 2003
- Generation of Musical Sequences with Genetic TechniquesComputer Music Journal, 1999