Everyday Unity – Telegram
Everyday Unity
1.11K subscribers
157 photos
59 videos
42 files
2.36K links
A game developer and tech lead in a top grossing company posting Unity, programming, and gamedev related stuff that I find interesting
Website: https://gamedev.center

Most used tags are:
#performance
#shader
#interview

Author: @alexmtr
Download Telegram
Understanding Audio Compression Settings in Unity

https://medium.com/double-shot-audio/understanding-audio-compression-settings-in-unity-e879a821023f

Vorbis requires significantly higher CPU resources to decompress the audio for playback.

One major difference between MP3 and Vorbis is that MP3 cannot loop seamlessly.

PCM is lossless compression and, while light on the CPU, has a much larger file size

ADPCM has a fixed compression ratio of about 3.5 and, while a good compromise between PCM and Vorbis/MP3, can sometimes cause unwanted noise (quantitative distortion) in audio files with lots of high-frequency content

Vorbis is a very efficient audio codec that offers high-quality lossy compression but requires more CPU resources for decompression

MP3 also offers high-quality lossy compression but causes problems for audio assets that should loop

#audio #settings #compression