Engine sounds with dynamic audio

Some effects have a dynamic nature and cannot be achieved by simply playing a plain audio file. Imagine a car engine; the sound it makes depends on many factors such as the type of engine and the revolutions per minute it is running at. Since a user can accelerate or hit the brake at any point in time, developers need to play audio in an adaptive manner.

Many games also have a dynamic soundtrack. Shadow of the Colossus (PlayStation 2, 2005) comes to mind when thinking of music that adapts to gameplay. In this game, the player has to defeat a series of giant beasts by climbing on them and striking weak spots. Music would smoothly change to accompany the mood of the moment. We are not talking about changing music ...

Get Libgdx Cross-platform Game Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.