ABSTRACT

This chapter explains how the application programming interface (API) can be used to drive the game's music at runtime, according to a set of rules established by the composer/editor. A piece of music that is indeterminate has no inherent end and is therefore well suited for games, which can drive it to give the appearance that no matter what the player does, the music is appropriately supporting the action. Indeterminate adaptive digital audio meets the requirements of mobile phones with limited memory and digital audio mixer. Mobiles are true platforms for large and general-public games. Generating music by using digital audio chunks is a quite new way to build a soundtrack, which has started to be used for games on consoles and is now possible on mobiles due to the presence of powerful mixers for digital audio. The software that provides the functionality described by an API is said to be an implementation of the API.