Get a free year on Tuts+ this month when you purchase a Siteground hosting plan from $3.95/mo
Music that is capable of changing dynamically and seamlessly to reflect what is happening on-screen can add a whole new level of immersion to a game. In this Gamedevtuts+ tutorial we take a look at one of the easier ways to add responsive music to a game.
How can you add responsive music to your games? Well, there are numerous ways of achieving this. Some are a lot more sophisticated than others and require multiple audio channels to be streamed from a local storage device, but adding some basic responsive music to a game is actually quite easy if you have access to a low-level sound API.
Here is a recorded version of the responsive music demo.