Skip to main content

Advertisement

Log in

Evolutionary music: applying evolutionary computation to the art of creating music

  • Published:
Genetic Programming and Evolvable Machines Aims and scope Submit manuscript

Abstract

We present a review of the application of genetic programming (GP) and other variations of evolutionary computation (EC) to the creative art of music composition. Throughout the development of EC methods, since the early 1990s, a small number of researchers have considered aesthetic problems such as the act of composing music alongside other more traditional problem domains. Over the years, interest in these aesthetic or artistic domains has grown significantly. We review the implementation of GP and EC for music composition in terms of the compositional task undertaken, the algorithm used, the representation of the individuals and the fitness measure employed. In these aesthetic studies we note that there are more variations or generalisations in the algorithmic implementation in comparison to traditional GP experiments; even if GP is not explicitly stated, many studies use representations that are distinctly GP-like. We determine that there is no single compositional challenge and no single best evolutionary method with which to approach the act of music composition. We consider autonomous composition as a computationally creative act and investigate the suitability of EC methods to the search for creativity. We conclude that the exploratory nature of evolutionary methods are highly appropriate for a wide variety of compositional tasks and propose that the development and study of GP and EC methods on creative tasks such as music composition should be encouraged.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Notes

  1. A term that is so over-used in the media it effectively refers to ‘computer science’.

  2. Over 20 years later this is still an issue, as we discuss below.

  3. Wiggins, who made this argument, has authored many papers on EC applied to music and we hope will forgive this assumption in this context.

  4. And many more that used GE, see Table 1.

References

  1. C. Ariza, The interrogator as critic: the turing test and the evaluation of generative music systems. Comput. Music J. 33(2), 48–70 (2009)

    MathSciNet  Google Scholar 

  2. Association for computational creativity. http://computationalcreativity.net/

  3. J. Biles, GenJam: a genetic algorithm for generating jazz solos, in Proceedings of the International Computer Music Conference (International Computer Music Association, 1994), pp. 131–131

  4. J.A. Biles, Straight-ahead jazz with GenJam: a quick demonstration, in MUME 2013 Workshop (2013)

  5. J. Biles, P. Anderson, L. Loggi, Neural network fitness functions for a musical iga. Accessed from https://scholarworks.rit.edu/other/184 (1996)

  6. T. Blackwell, J. Branke, Multi-swarm optimization in dynamic environments, in Workshops on Applications of Evolutionary Computation (Springer, 2004), pp. 489–500

  7. M.A. Boden, Creativity and artificial intelligence. Artif. Intel. 103(1), 347–356 (1998)

    MathSciNet  MATH  Google Scholar 

  8. M.A. Boden, The Creative Mind: Myths and Mechanisms (Psychology Press, London, 2004)

    Google Scholar 

  9. M.A. Boden, Computer models of creativity. AI Mag. 30(3), 23 (2009)

    Google Scholar 

  10. A. Brabazon, M. O’Neill, S. McGarraghy, Natural Computing Algorithms (Springer, Berlin, 2015)

    MATH  Google Scholar 

  11. S. Bringsjord, P. Bello, D. Ferrucci, Creativity, the turing test, and the (better) lovelace test, in The Turing Test, ed. by J.H. Moor (Springer, Berlin, 2003), pp. 215–239

    MATH  Google Scholar 

  12. A.R. Brown, A. Sorensen, Interacting with generative music through live coding. Contemp. Music Rev. 28(1), 17–29 (2009)

    Google Scholar 

  13. A.R. Burton, T. Vladimirova, Genetic algorithm utilising neural network fitness evaluation for musical composition, in Artificial Neural Nets and Genetic Algorithms, ed. by G.D. Smith, et al. (Springer, Berlin, 1998), pp. 219–223

    Google Scholar 

  14. A.R. Burton, T. Vladimirova, Generation of musical sequences with genetic techniques. Comput. Music J. 23(4), 59–73 (1999)

    Google Scholar 

  15. A. Cardoso, T. Veale, G.A. Wiggins, Converging on the divergent: the history (and future) of the international joint workshops in computational creativity. AI Mag. 30(3), 15 (2009)

    Google Scholar 

  16. C. Chafe, Glitch Free FM Vocal Synthesis. Center for Computer Research in Music and Acoustics (Stanford University, Stanford, 2013)

    Google Scholar 

  17. S. Colton, Creativity versus the perception of creativity in computational systems, in AAAI Spring Symposium: Creative Intelligent Systems (2008), pp. 14–20

  18. S. Colton, G.A. Wiggins et al., Computational creativity: The final frontier? ECAI 12, 21–26 (2012)

    Google Scholar 

  19. P. Dahlstedt, Autonomous evolution of complete piano pieces and performances, in Proceedings of Music AL Workshop (Citeseer, 2007)

  20. P. Dahlstedt, Sounds Unheard of: Evolutionary Algorithms as Creative Tools for the Contemporary Composer (Chalmers University of Technology, Goteborg, 2004)

    Google Scholar 

  21. R. Dawkins, The blind watchmaker: why the evidence of evolution reveals a universe without design (reissued in 2006 and 1996) (1996)

  22. A.R. de Freitas, F.G. Guimarães, Originality and diversity in the artificial evolution of melodies, in Proceedings of the 13th Annual Conference on Genetic and Evolutionary Computation (ACM, 2011), pp. 419–426

  23. A.R. de Freitas, F.G. Guimaraes, R.V. Barbosa, Ideas in automatic evaluation methods for melodies in algorithmic composition, in Sound and Music Computing Conference (2012)

  24. A.O. de la Puente, R.S. Alfonso, M.A. Moreno, Automatic composition of music by means of grammatical evolution. in ACM SIGAPL APL Quote Quad vol. 32 (ACM, 2002), pp. 148–155

  25. R. De Prisco, G. Zaccagnino, R. Zaccagnino, Evobasscomposer: a multi-objective genetic algorithm for 4-voice compositions, in Proceedings of the 12th Annual Conference on Genetic and Evolutionary Computation (ACM, 2010), pp. 817–818

  26. K. Deb, A. Pratap, S. Agarwal, T. Meyarivan, A fast and elitist multiobjective genetic algorithm: Nsga-ii. IEEE Trans. Evol. Comput. 6(2), 182–197 (2002)

    Google Scholar 

  27. G. Diaz-Jerez, Composing with melomics: delving into the computational world for musical inspiration. Leonardo Music J. 21, 13–14 (2011)

    Google Scholar 

  28. P. Donnelly, J. Sheppard, Evolving four-part harmony using genetic algorithms, in European Conference on the Applications of Evolutionary Computation (Springer, Berlin, Heidelberg, 2011), pp. 273–282

  29. A. Eigenfeldt, O. Bown, A.R. Brown, T. Gifford, Flexible generation of musical form: beyond mere generation, in Proceedings of the Seventh International Conference on Computational Creativity (2016)

  30. A. Eigenfeldt, P. Pasquier, Populations of populations: composing with multiple evolutionary algorithms, in Evolutionary and Biologically Inspired Music, Sound, Art and Design (Springer, Berlin, 2012), pp. 72–83

  31. A. Gartland-Jones, Musicblox: A real-time algorithmic composition system incorporating a distributed interactive genetic algorithm, in Workshops on Applications of Evolutionary Computation (Springer, 2003), pp. 490–501

  32. A. Gartland-Jones, P. Copley, The suitability of genetic algorithms for musical composition. Contemp. Music Rev. 22(3), 43–55 (2003)

    Google Scholar 

  33. P. Gibson, J. Byrne, Neurogen, musical composition using genetic algorithms and cooperating neural networks, in Second International Conference on Artificial Neural Networks (IET, 1991), pp. 309–313

  34. S. Hickinbotham, S. Stepney, Augmenting live coding with evolved patterns, in International Conference on Evolutionary and Biologically Inspired Music and Art (Springer, 2016), pp. 31–46

  35. L.A. Hiller Jr, L.M. Isaacson, Musical composition with a high speed digital computer, in Audio Engineering Society Convention, vol 9 (Audio Engineering Society, 1957)

  36. D.M. Hofmann, A genetic programming approach to generating musical compositions, in International Conference on Evolutionary and Biologically Inspired Music and Art (Springer, 2015), pp. 89–100

  37. A.K. Hoover, M.P. Rosario, K.O. Stanley, Scaffolding for interactively evolving novel drum tracks for existing songs, in Workshops on Applications of Evolutionary Computation (Springer, 2008), pp. 412–422

  38. A. Horner, D.E. Goldberg, Genetic algorithms and computer-assisted music composition. Urbana 51(61801), 437–441 (1991)

    Google Scholar 

  39. D. Horowitz, Generating rhythms with genetic algorithms, in AAAI vol 94 (Cambridge, 1994), p. 1459

  40. S. Ianigro, O. Bown, Plecto: a low-level interactive genetic algorithm for the evolution of audio, in International Conference on Evolutionary and Biologically Inspired Music and Art (Springer, 2016), pp. 63–78

  41. International conference on computational intelligence in music, sounds, art and design (EvoMUSART). http://www.evostar.org/2019/

  42. B. Jacob, Composing with genetic algorithms, in International Computer Music Conference (ICMC), Banff Alberta (International Computer Music Association, 1995)

  43. B.L. Jacob, Algorithmic composition as a model of creativity. Organ. Sound 1(3), 157–165 (1996)

    Google Scholar 

  44. B. Johanson, R. Poli, GP-Music: An Interactive Genetic Programming System for Music Generation with Automated Fitness Raters (Citeseer, Princeton, 1998)

    Google Scholar 

  45. C.G. Johnson, Fitness in evolutionary art and music: what has been used and what could be used?, in Evolutionary and Biologically Inspired Music, Sound, Art and Design (Springer, Berlin, Heidelberg, 2012), pp. 129–140

  46. C.G. Johnson, J.J.R. Cardalda, Genetic algorithms in visual art and music. Leonardo 35(2), 175–184 (2002)

  47. A. Jordanous, Evaluating evaluation: assessing progress in computational creativity research (2011)

  48. A. Jordanous, A standardised procedure for evaluating creative systems: computational creativity evaluation based on what it is to be creative. Cognit. Comput. 4(3), 246–279 (2012)

    Google Scholar 

  49. Y. Khalifa, B.K. Khan, J. Begovic, A. Wisdom, A.M. Wheeler, Evolutionary music composer integrating formal grammar, in Proceedings of the 9th Annual Conference Companion on Genetic and Evolutionary Computation (ACM, 2007), pp. 2519–2526

  50. S.O. Kimbrough, G.J. Koehler, M. Lu, D.H. Wood, On a feasible–infeasible two-population (fi-2pop) genetic algorithm for constrained optimization: distance tracing and no free lunch. Eur. J. Oper. Res. 190(2), 310–327 (2008)

    MathSciNet  MATH  Google Scholar 

  51. K. Kunimatsu, Y. Ishikawa, M. Takata, K. Joe, A music composition model with genetic programming-a case study of chord progression and bassline, in Proceedings of the International Conference on Parallel and Distributed Processing Techniques and Applications (PDPTA). The Steering Committee of The World Congress in Computer Science, Computer Engineering and Applied Computing (WorldComp) (2015), p. 256

  52. P. Laine, M. Kuuskankare, Genetic algorithms in musical style oriented generation, in Evolutionary Computation, 1994. Proceedings of the First IEEE Conference on IEEE World Congress on Computational Intelligence (IEEE, 1994), pp. 858–862

  53. Library of Congress, 2009 national recording registry (2009) https://www.loc.gov/item/prn-10-116/

  54. R. Loughran, J. McDermott, M. O’Neill, Grammatical evolution with zipf’s law based fitness for melodic composition, in Sound and Music Computing Conference, Maynooth (2015)

  55. R. Loughran, J. McDermott, M. O’Neill, Grammatical music composition with dissimilarity driven hill climbing, in Evolutionary and Biologically Inspired Music, Sound, Art and Design. ed. by J. Correia, C. Johnson, V. Ciesielski (Springer, Berlin, 2016), pp. 110–125

  56. R. Loughran, J. McDermott, M. O’Neill, Tonality driven piano compositions with grammatical evolution, in 2015 IEEE Congress on Evolutionary Computation (CEC) (IEEE, 2015), pp. 2168–2175

  57. R. Loughran, M. O’Neill, ‘My Little Chucky’: towards live-coding with grammatical evolution, in Musical Metacreation (MuMe) ed. by P. Pasquier, O. Bown, A. Eigenfeldt (2017)

  58. R. Loughran, M. O’Neill, Clustering agents for the evolution of autonomous musical fitness, in Evolutionary and Biologically Inspired Music, Sound, Art and Design (Springer, Berlin, 2017)

  59. R. Loughran, M. O’Neill, The popular critic: evolving melodies with popularity driven fitness, in Musical Metacreation (MuMe), Paris (2016)

  60. R. Loughran, M. O’Neill, Limitations from assumptions in generative music evaluation. J. Creat. Music Syst. 2, 1 (2017)

    Google Scholar 

  61. R.M. MacCallum, M. Mauch, A. Burt, A.M. Leroi, Evolution of music by public choice. Proc. Natl. Acad. Sci. 109(30), 12081–12086 (2012)

    Google Scholar 

  62. P. Machado, A. Cardoso, Nevar-the assessment of an evolutionary art tool, in Proceedings of the AISB00 Symposium on Creative and Cultural Aspects and Applications of AI and Cognitive Science, vol 456 (Birmingham, UK, 2000)

  63. P. Machado, J. Tavares, A. Cardoso, F.B. Pereira, E. Costa, Evolving creativity, in First International Joint Workshop on Computational Creativity (Universidad Complutense de Madrid, Madrid, 2004), pp. 17–19

  64. B. Manaris, P. Roos, P. Machado, D. Krehbiel, L. Pellicoro, J. Romero, A corpus-based hybrid approach to music analysis and composition, in Proceedings of the National Conference on Artificial Intelligence, vol 22 (MIT Press, Cambridge, 2007), p. 839

  65. B. Manaris, D. Vaughan, C. Wagner, J. Romero, R.B. Davis, Evolutionary music and the Zipf–Mandelbrot law: developing fitness functions for pleasant music, in Applications of Evolutionary Computing (Springer, Berlin, 2003), pp. 522–534

  66. B. Manaris, J. Romero, P. Machado, D. Krehbiel, T. Hirzel, W. Pharr, R.B. Davis, Zipf’s law, music classification, and aesthetics. Comput. Music J. 29(1), 55–69 (2005)

    Google Scholar 

  67. J. McCormack, Facing the future: evolutionary possibilities for human–machine creativity, in The Art of Artificial Evolution, ed. by J.J. Romero (Springer, Berlin, 2008), pp. 417–451

  68. J. McCormack, Open problems in evolutionary music and art, in Applications of evolutionary computing. (Springer, Berlin, 2005), pp. 428–436

  69. J. McDermott, U.M. O’Reilly, An executable graph representation for evolutionary generative music, in Proceedings of the 13th Annual Conference on Genetic and Evolutionary Computation (ACM, New York, USA, 2011), pp. 403–410

  70. L.F. Menabrea, A. Lovelace, Sketch of the analytical engine invented by charles babbage (1842)

  71. P. Meusburger, Milieus of creativity: the role of places, environments, and spatial contexts, in Milieus of Creativity (Springer, Berlin, 2009), pp. 97–153

  72. M.L. Minsky, Why people think computers can’t. AI Mag. 3(4), 3 (1982)

    Google Scholar 

  73. E.R. Miranda, On the evolution of music in a society of self-taught digital creatures. Digit. Creat. 14(1), 29–42 (2003)

    Google Scholar 

  74. E.R. Miranda, J. Al Biles, Evolutionary Computer Music (Springer, Berlin, 2007)

    Google Scholar 

  75. A. Moroni, J. Manzolli, F. Von Zuben, R. Gudwin, Vox populi: an interactive evolutionary system for algorithmic music composition. Leonardo Music J. 10, 49–54 (2000)

    Google Scholar 

  76. E. Munoz, J. Cadenas, Y.S. Ong, G. Acampora, Memetic music composition. IEEE Trans. Evol. Comput. 20(1), 1 (2016)

    Google Scholar 

  77. Musical Metacreation (MuMe). http://musicalmetacreation.org

  78. O. Olseng, B. Gambäck, Co-evolving melodies and harmonization in evolutionary music composition, in International Conference on Computational Intelligence in Music, Sound, Art and Design (Springer, 2018), pp. 239–255

  79. M. Pearce, G. Wiggins, Towards a framework for the evaluation of machine compositions, in Proceedings of the AISB’01 Symposium on Artificial Intelligence and Creativity in the Arts and Sciences (Citeseer, 2001), pp. 22–32

  80. S. Phon-Amnuaisuk, E.H.H. Law, H.C. Kuan, Evolving music generation with som-fitness genetic programming, in Workshops on Applications of Evolutionary Computation (Springer, 2007), pp. 557–566

  81. A. Pirnia, J. McCormack, Compressed multidimensional trees for evolutionary music representation, in ICMC (2012)

  82. C.S. Quintana, F.M. Arcas, D.A. Molina, J.D.F. Rodriguez, F.J. Vico, Melomics: a case-study of ai in spain. AI Mag. 34(3), 99–103 (2013)

    Google Scholar 

  83. J. Reddin, J. McDermott, M. O’Neill, Elevated pitch: automated grammatical evolution of short compositions, in Applications of Evolutionary Computing ed. by M. Giacobini, et al. (Springer, 2009), pp. 579–584

  84. J. Reichardt, J. Reichardt, Cybernetics, art and ideas (Studio Vista, London, 1971)

    MATH  Google Scholar 

  85. J. Romero, P. Machado, A. Carballal, Guest editorial: special issue on biologically inspired music, sound, art and design. Genet Program Evolvable Mach 14, 281 (2013). https://doi.org/10.1007/s10710-013-9191-z

  86. J.J. Romero, The Art of Artificial Evolution: A Handbook on Evolutionary Art and Music (Springer, Berlin, 2008)

    Google Scholar 

  87. M.A. Runco, G.J. Jaeger, The standard definition of creativity. Creat. Res. J. 24(1), 92–96 (2012)

    Google Scholar 

  88. M. Scirea, P. Eklund, J. Togelius, S. Risi, Evolving in-game mood-expressive music with metacompose, in Audio Mostky 2018: Sound in Immerision and Emotion (AM’18), New York (2018)

  89. M. Scirea, J. Togelius, P. Eklund, S. Risi, Metacompose: A compositional evolutionary music composer, in International Conference on Evolutionary and Biologically Inspired Music and Art (Springer, 2016), pp. 202–217

  90. J. Shao, J. McDermott, O’Neill, M., A. Brabazon, Jive: A generative, interactive, virtual, evolutionary music system, in Applications of Evolutionary Computation, ed. by C. Di Chio et el. (Springer, Berlin, 2010), pp. 341–350

  91. K. Sims, Interactive evolution of equations for procedural models. Vis. Comput. 9(8), 466–476 (1993)

    Google Scholar 

  92. L. Spector, A. Alpern, Criticism, culture, and the automatic generation of artworks, in AAAI (1994), pp. 3–8

  93. L. Spector, A. Alpern, Induction and recapitulation of deep musical structure. Proc. Int. Jt. Conf. Artif. Intell. 95, 20–25 (1995)

    Google Scholar 

  94. K.O. Stanley, R. Miikkulainen, Evolving neural networks through augmenting topologies. Evol. Comput. 10(2), 99–127 (2002)

    Google Scholar 

  95. C. Sulyok, A. McPherson, C. Harte, Corpus-taught evolutionary music composition, in Proceedings of the 13th European Conference on Artificial life, York, UK (2015), pp. 587–594

  96. K. Thywissen, GeNotator: an environment for exploring the application of evolutionary techniques in computer-assisted composition. Organ. Sound 4(02), 127–133 (1999)

    Google Scholar 

  97. C.K. Ting, C.L. Wu, C.H. Liu, A novel automatic composition system using evolutionary algorithm and phrase imitation. IEEE Syst. J. 11, 1284 (2015)

    Google Scholar 

  98. P.M. Todd, G.M. Werner, Frankensteinian methods for evolutionary music composition, in Musical Networks: Parallel Distributed Perception and Performace, ed. by N. Griffith, P.M. Todd (MIT Press, Cambridge, 1999)

    Google Scholar 

  99. D. Ventura, How to build a CC system, in Proceedings of the 8th International Conference on Computational Creativity, Atlanta (2017)

  100. G. Wang, P.R. Cook, et al., Chuck: a concurrent, on-the-fly, audio programming language, in ICMC (2003)

  101. R. Waschka, Theories of evolutionary algorithms and a`new simplicity’opera: making sappho’s breath, in Artificial Life Models for Musical Applications (Cosenza, 2011), pp. 79–86

  102. R. Waschka II, Composing with genetic algorithms: GenDash, in Evolutionary Computer Music, ed. by E.R. Miranda, J.A. Biles (Springer, Berlin, 2007), pp. 117–136

    Google Scholar 

  103. G. Wiggins, G. Papadopoulos, S. Phon-Amnuaisuk, A. Tuson, Evolutionary methods for musical composition. Dai Research Paper (1998)

  104. G.A. Wiggins, D. Müllensiefen, M.T. Pearce, On the non-existence of music: why music theory is a figment of the imagination. Musicae Scientiae 14(1 suppl), 231–255 (2010)

    Google Scholar 

  105. G.K. Zipf, Human behavior and the principle of least effort (Addison-Wesley Press, Boston, 1949)

    Google Scholar 

Download references

Acknowledgements

This work is part of the App’Ed (Applications of Evolutionary Design) project funded by Science Foundation Ireland under Grant 13/IA/1850.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Róisín Loughran.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Loughran, R., O’Neill, M. Evolutionary music: applying evolutionary computation to the art of creating music. Genet Program Evolvable Mach 21, 55–85 (2020). https://doi.org/10.1007/s10710-020-09380-7

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10710-020-09380-7

Keywords

Navigation