Skip to main content

Abstract

This paper describes an algorithm employable in a game to automatically compose music tunes over a given chord progression. A key feature of our proposal is its efficiency in terms of computational power and resource occupation, which makes it usable in real time within mobile devices such as MP3 players and smart phones. Besides, music themes can be randomized, so that the cyclic repetition of the same chord sequence becomes the base for non-repetitive tunes, different as regards both their melodic contour and their rhythm. Furthermore, the complexity of the generated themes can be modified in real time by setting numeric parameters. A complete C++ implementation of the algorithm is provided.

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 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Mozart, W.A., Norden, H.: Musikalisches Würfelspiel. B. Schott’s Soehne (1957)

    Google Scholar 

  2. Schwanauer, S., Levitt, D.: Machine models of music. MIT Press (1993)

    Google Scholar 

  3. Xenakis, I.: Formalized Music: Thought and mathematics in composition, vol. (6). Pendragon Pr. (1992)

    Google Scholar 

  4. Spector, L., Alpern, A.: Induction and recapitulation of deep musical structure. In: Proceedings of International Joint Conference on Artificial Intelligence, IJCAI, vol. 95, pp. 20–25 (1995)

    Google Scholar 

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

    Article  Google Scholar 

  6. Boenn, G., Brain, M., De Vos, M., Ffitch, J.: Automatic composition of melodic and harmonic music by answer set programming. In: Logic Programming, pp. 160–174 (2008)

    Google Scholar 

  7. Lerdahl, F., Jackendoff, R.: A generative theory of tonal music. MIT Press (1983)

    Google Scholar 

  8. Messiaen, O.: The technique of my musical language: Text, vol. 1. Alphonse Leduc (1956)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Baratè, A., Ludovico, L.A. (2013). Algorithmic Generation of Music Tunes for an iPhone® Game. In: Nesi, P., Santucci, R. (eds) Information Technologies for Performing Arts, Media Access, and Entertainment. ECLAP 2013. Lecture Notes in Computer Science, vol 7990. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-40050-6_22

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-40050-6_22

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-40049-0

  • Online ISBN: 978-3-642-40050-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics