Skip to main content

An Evolutionary Composer for Real-Time Background Music

  • Conference paper
  • First Online:
Book cover Evolutionary and Biologically Inspired Music, Sound, Art and Design (EvoMUSART 2016)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9596))

Abstract

Systems for real-time composition of background music respond to changes of the environment by generating music that matches the current state of the environment and/or of the user.

In this paper we propose one such a system that we call EvoBackMusic. EvoBackMusic is a multi-agent system that exploits a feed-forward neural network and a multi-objective genetic algorithm to produce background music. The neural network is trained to learn the preferences of the user and such preferences are exploited by the genetic algorithm to compose the music. The composition process takes into account a set of controllers that describe several aspects of the environment, like the dynamism of both the user and the context, other physical characteristics, and the emotional state of the user. Previous system mainly focus on the emotional aspect.

EvoBackMusic has been implemented in Java using Encog and JFugue, and it can be integrated in real and virtual environments.

We have performed several tests to evaluate the system and we report the results of such tests. The tests aimed at analyzing the users’ perception about the quality of the produced music compositions.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    http://www.microsoft.com/DirectX.

  2. 2.

    http://www.heatonresearch.com/encog.

  3. 3.

    http://www.jfugue.org/.

  4. 4.

    In the download page of the site http://music.di.unisa.it.

References

  1. Downie, M.: Behavior animation, music: the music and movement of synthetic characters. MIT (2011)

    Google Scholar 

  2. Nakamura, J., Kaku, T., Noma, T., Yoshida, S.: Automating background music generation based on actors’ emotion and motions. In: Proceedings of the Pacific Graphics 1993, Computer Graphics and Applications, pp. 147–161 (1993)

    Google Scholar 

  3. Robertson, J., de Quincey, A., Stapleford, T., Wiggins, G.: Real-time music generation for a virtual environment. In: Proceedings of ECAI 1998 Workshop on AI/ALIFE and Entartainment (1998)

    Google Scholar 

  4. Chung, J., Vercoe, G.: The affective remixer: personalized music arranging. In: Proceedings of Conference on Human Factors in Computing Systems, pp. 393–398 (2006)

    Google Scholar 

  5. Livingstone, S.R., Muhlberger, R., Brown, A.R., Loch, A.: Controlling musical emotionality: an affective computational architecture for influencing musical emotions. Digit. Creativity 18(1), 43–53 (2007)

    Article  Google Scholar 

  6. Winter, R.: Interactive music: compositional techniques for communicating different emotional qualities. Master thesis, University of New York, NY (2005)

    Google Scholar 

  7. López, A.R., Oliveira, A.P., Cardoso, A.: Real-time emotion-driven music engine. In: Proceedings of International Conference on Computational Creativity (2010)

    Google Scholar 

  8. Kim, S., André, E.: Composing affective music with a generate and sense approach. In: Barr, V., Markov, Z. (eds.) FLAIRS Conference, pp. 38–43. AAAI Press (2004)

    Google Scholar 

  9. Casella, P., Paiva, A.C.R.: MAgentA: an architecture for real time automatic composition of background music. In: de Antonio, A., Aylett, R.S., Ballin, D. (eds.) IVA 2001. LNCS (LNAI), vol. 2190, p. 224. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  10. Wassermann, K.C., Eng, K., Verschure, P.F.M.J.: Live soundscape composition based on synthetic emotions. IEEE MultiMed. 10(4), 82–90 (2003)

    Article  Google Scholar 

  11. Gabrielsson, A., Lindstrom, E.: The Influence of Musical Structure on Emotional Expression. In: Juslin, P., Sloboda, J.A. (eds.) Music and Emotion: Theory and Research. Oxford University Press, Oxford (2001)

    Google Scholar 

  12. Schubert, E.: Measurement and time series analysis of emotion in music. Ph.D. thesis, University of New South Wales, New South Wales (1999)

    Google Scholar 

  13. Scherer, K., Zentner, M.R.: Emotional effects of music: production rules. In: Juslin, P., Sloboda, J.A. (eds.) Music and Emotion: Theory and Research. Oxford University Press, Oxford (2001)

    Google Scholar 

  14. Meyer, L.: Emotion and Meaning in Music. University of Chicago Press, Chicago (1956)

    Google Scholar 

  15. Bilotta, E., Pantano, P.: Artificial life music tells of complexity. In: ALMMA 2001: Proceedings of the Workshop on Artificial Life Models for Musical Applications, pp. 17–28 (2001)

    Google Scholar 

  16. Bilotta, E., Pantano, P.: Synthetic harmonies: an approach to musical semiosis by means of cellular automata. Leonardo 35(2), 153–159 (2002)

    Article  Google Scholar 

  17. De Prisco, R., Zaccagnino, G., Zaccagnino, R.: Evobasscomposer: a multi-objective genetic algorithm for 4-voice compositions. In: Genetic and Evolutionary Computation Conference, GECCO 2010, Proceedings, Portland, Oregon, USA, 7–11 July 2010, pp. 817–818 (2010)

    Google Scholar 

  18. De Prisco, R., Zaccagnino, R.: An evolutionary music composer algorithm for bass harmonization. In: Giacobini, M., et al. (eds.) EvoWorkshops 2009. LNCS, vol. 5484, pp. 567–572. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  19. Russell, J.: A circumplex model of affect. J. Pers. Soc. Psychol. 39(6), 1161–1178 (1980)

    Article  Google Scholar 

  20. Mori, N., Imanishi, S., Kita, H., Nishikawa, Y.: Adaptation to changing environments by means of the memory based thermodynamical genetic algorithm. In: ICGA 1997, East Lansing, MI, pp. 299–306 (1997)

    Google Scholar 

  21. Boenn, G., Brain, M., De Vos, M., ffitch, J.: Automatic composition of melodic and harmonic music by answer set programming. In: Garcia de la Banda, M., Pontelli, E. (eds.) ICLP 2008. LNCS, vol. 5366, pp. 160–174. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  22. Legaspi, R., Hashimoto, Y., Moriyama, K., Kurihara, S., Numao, M.: Music compositional intelligence with an affective flavor. In: IUI, pp. 216–224 (2007)

    Google Scholar 

  23. Unehara, M., Onisawa, T.: Music composition system based on subjective evaluation. In: SMC, pp. 980–986. IEEE (2003)

    Google Scholar 

  24. Malandrino, D., Scarano, V., Spinelli, R.: How increased awareness can impact attitudes and behaviors toward online privacy protection. In: SocialCom, pp. 57–62. IEEE (2013)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to R. De Prisco .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

De Prisco, R., Malandrino, D., Zaccagnino, G., Zaccagnino, R. (2016). An Evolutionary Composer for Real-Time Background Music. In: Johnson, C., Ciesielski, V., Correia, J., Machado, P. (eds) Evolutionary and Biologically Inspired Music, Sound, Art and Design. EvoMUSART 2016. Lecture Notes in Computer Science(), vol 9596. Springer, Cham. https://doi.org/10.1007/978-3-319-31008-4_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-31008-4_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-31007-7

  • Online ISBN: 978-3-319-31008-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics