Getting audio into Unreal
How do we get the audio files into Unreal? What do you need to take note of?
The audio format
Unreal supports the importing of sounds only in the .wav
format. The .wav
format is a widely used format that can store raw uncompressed sound data.
The sampling rate
The sampling rate is recommended at 44100 Hz or 22050 Hz. As mentioned earlier, the sampling rate determines how often the analog wave is recorded. The higher the frequency (measured in Hertz or Hz), the more data points of the analog wave that are collected, which aids in a better reconstruction of the wave.
Bit depth
The bit depth is set as 16. It determines the granularity at which the amplitude of the audio wave can be recorded, which is also known as the resolution of the sound. For a bit depth of 16, you can get up to 65,536 integer values (216). The reason why we are concerned with the bit depth is because during the sampling process of the analog waves, the actual value of the amplitude of the wave is approximated...