These basic principles can be achieved manually by calculating the gain and output of an audio source in relation to a specific game object, but GameMaker: Studio provides a set of powerful and easy-to-use functions that give you direct control of the audio API. The concepts involved in 3D audio are similar across all game development environments, because they are based on familiar real-world rules: sound becomes louder as you approach the source, and sound originating on your right will be louder in your right ear. You can download the source files and compiled demo EXE from GitHub. In this tutorial, we'll create two scenes that incorporate 3D audio in different ways, as seen in the demo video. This set of immersive audio features can be accomplished through a system of audio emitters and an audio listener. The position of the player in relation to the audio source will also result in directional stereo audio, and sound velocity applied to a moving object can be applied to create a Doppler effect. As the player approaches a source of sound within the game, the volume of that source becomes louder as the player moves away, the volume decreases until finally becoming silent. To better understand the concept of 3D audio, just imagine adding a pair of digital ears to a player-controlled game object. Audio is a crucial element of the overall gaming experience, and GameMaker: Studio provides a relatively simple way for you to implement 3D audio in your projects.