audio formats
1 article
Audio formats are the standard ways of storing digital sound in a computer file. Each one defines how the sound wave is turned into numbers, whether those numbers are compressed, and how extra details such as track names are kept alongside them.
Three groups cover most files. Uncompressed formats such as WAV store the sound as it was captured, which gives full quality and very large files. Lossless formats such as FLAC squeeze the data without throwing anything away, so the original can be rebuilt exactly. Lossy formats such as MP3, AAC and Opus go further and discard detail that listeners are unlikely to notice, producing much smaller files at the cost of some fidelity. It also helps to separate the codec, which is the compression method, from the container, which is the file wrapper. An M4A file, for example, is an MPEG-4 container that usually holds AAC sound.
The choice of format has practical effects. It decides how much storage and bandwidth a recording needs, which devices and browsers can play it, and how much quality survives repeated editing and saving. Musicians and archivists tend to keep lossless masters, while streaming services, podcasts and voice calls depend on lossy formats to reach listeners on slow connections. Picking the wrong one can mean a file that will not open, or a recording whose quality cannot be recovered.