PacktLib: Getting Started with C++ Audio Programming for Game Development

Getting Started with C++ Audio Programming for Game Development

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Audio Concepts

Sound waves

Analog and digital audio

Multi-channel audio

Audio file formats

Summary

Audio Playback

Understanding FMOD

Installing FMOD Ex Programmer's API

Creating and managing the audio system

Loading and streaming audio files

Playing sounds

Checking for errors

Project 1 – building a simple audio manager

Summary

Audio Control

The channel handle

Controlling the playback

Controlling the volume

Controlling the pitch

Controlling the panning

Grouping channels together

Controlling groups of channels

Project 2 – improving the audio manager

Summary

3D Audio

Positional audio

Positional audio in FMOD

Reverb

Reverb in FMOD

Obstruction and occlusion

Effects

Summary

Intelligent Audio

Audio files versus sound events

Introducing the FMOD Designer

Simple events

Multi-track events

Interactive music

Calling sound events from the game code

Summary

Low-level Audio

Representing audio data

Playing audio data

Loading a sound

Playing a sound

Pausing a sound

Looping a sound

Changing volume

Changing pitch

Changing panning

Mixing multiple sounds

Implementing a delay effect

Synthesizing a sound

Summary

Index