Algorithmic Generation of Music Tunes for an iPhone® Game
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.
Keywordsmusic algorithms automatic composition
Unable to display preview. Download preview PDF.
- 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
- 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