Elevated Pitch: Automated Grammatical Evolution of Short Compositions

  • John Reddin
  • James McDermott
  • Michael O’Neill
Part of the Lecture Notes in Computer Science book series (LNCS, volume 5484)


A system for automatic composition using grammatical evolution is presented. Music is created under the constraints of a generative grammar, and under the bias of an automatic fitness function and evolutionary selection. This combination of two methods is seen to be powerful and flexible. Human evaluation of automatically-evolved pieces shows that a more sophisticated grammar in combination with a naive fitness function gives better results than the reverse.


Grammatical evolution music automatic composition 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    O’Neill, M., Ryan, C.: Grammatical Evolution: Evolutionary Automatic Programming in an Arbitrary Language. Kluwer Academic Publishers, Dordrecht (2003)CrossRefzbMATHGoogle Scholar
  2. 2.
    McCormack, J.: Open problems in evolutionary music and art. In: Rothlauf, F., et al. (eds.) EvoWorkshops 2005. LNCS, vol. 3449, pp. 428–436. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  3. 3.
    Bentley, P.J.: Exploring component-based representations - the secret of creativity by evolution? In: Parmee, I.C. (ed.) Proceedings of ACDM 2000, University of Plymouth, pp. 161–172 (2000)Google Scholar
  4. 4.
    Dahlstedt, P.: Autonomous evolution of complete piano pieces and performances. In: Proceedings of Music AL Workshop (2007)Google Scholar
  5. 5.
    Nelson, G.L.: Sonomorphs: An application of genetic algorithms to the growth and development of musical organisms (1993),
  6. 6.
    Eno, B.: A Year with Swollen Appendices. Faber and Faber (1996)Google Scholar
  7. 7.
    Lerdahl, F., Jackendoff, R.: A Generative Theory of Tonal Music. MIT Press, Cambridge (1983)Google Scholar
  8. 8.
    Kippen, J., Bel, B.: Modelling music with grammars: Formal language representation in the BOL processor. In: Pople, A.M.A. (ed.) Computer Representations and Models in Music, pp. 207–238. Academic Press, London (1992)Google Scholar
  9. 9.
    Marsden, A.: Generative structural representation of tonal music. Journal of New Music Research 34(4), 409–428 (2005)CrossRefGoogle Scholar
  10. 10.
    de la Puente, A.O., Alfonso, R.S., Moreno, M.A.: Automatic composition of music by means of grammatical evolution. In: Proceedings of APL 2002, Madrid (2002)Google Scholar
  11. 11.
    Towsey, M., Brown, A., Wright, S., Diederich, J.: Towards melodic extension using genetic algorithms. Educational Technology & Society 4(2) (2001)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2009

Authors and Affiliations

  • John Reddin
    • 1
  • James McDermott
    • 2
  • Michael O’Neill
    • 2
  1. 1.Trinity College DublinIreland
  2. 2.University College DublinIreland

Personalised recommendations