Audio Basics Video
Adding Audio can improve the atmosphere of your space. It can also be used to enhance reactor events such as door sounds or other elements to add to your interactivity.
Note that the Audio will be in the same environment as the Chat channel at the moment. It is currently possible to mute Audio on the browser tab, but this will mute all audio in the page (including chat).
Unity supports .mp3 and .wav audio formats. MP3 is recommended due to it's decreased filesize.
- Audio is added by using an Audio Source component. It can go on any asset, depending on what you are using it for such as the asset that makes the sound, or an empty gameobject for easier readability.
Adding an Audio Source
- Once you have an Audio Source you can drag and drop your audio file into the Audio Clip.
Adding the Audio to the Audio Source
- The most common tools on the audio source, depending on your needs, would be the following:
Of course there are others, but those are the main tools that adjust the parameters to your needs.
- Loop (Will loop the audio at the end of the clip)
- Volume (Adjust the volume of the clip)
- Spatial Blend ( Is the Audio heard in the whole space, or is it local )
- Volume Rolloff ( How does the volume run off at distance )
- Min Distance / Max Distance ( How far can does the audio reach )