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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Mozart, W.A., Norden, H.: Musikalisches Würfelspiel. B. Schott’s Soehne (1957)
Schwanauer, S., Levitt, D.: Machine models of music. MIT Press (1993)
Xenakis, I.: Formalized Music: Thought and mathematics in composition, vol. (6). Pendragon Pr. (1992)
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)
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)
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)
Lerdahl, F., Jackendoff, R.: A generative theory of tonal music. MIT Press (1983)
Messiaen, O.: The technique of my musical language: Text, vol. 1. Alphonse Leduc (1956)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)