How lossy codecs affect your master
Last updated 3 min readTags:MasteringDelivery
Learn why AAC, MP3 and Vorbis can raise peaks or introduce audible artefacts, and how to check your master before release.
A master that sounds clean as a WAV can clip after a round trip through AAC, MP3 or Vorbis. Measure the true peak of the decoded audio, then compare it with the original at the same listening level to hear whether the codec has changed the sound.
What lossy encoding changes
A lossy codec reduces file size by storing some parts of the audio with less precision. It uses a model of hearing to estimate which differences are likely to be masked by other sounds. How much you hear depends on the source, the encoder and the bitrate. Listen for changes such as a swishing cymbal tail, fuzz around a sung ‘s’, or a snare hit that sounds less sharp. Fraunhofer’s guide to MP3 and AAC explains how these artefacts arise.
The decoded waveform can also peak higher than the original. A master that measures −0.5 dBTP could, for example, measure +0.3 dBTP after decoding. That peak can clip on a playback path that cannot handle levels above full scale. A sample-peak meter can miss peaks between samples, so use a true-peak meter on both versions.
How much headroom should you leave?
Spotify recommends keeping true peaks below −1 dBTP, or below −2 dBTP if your master is louder than −14 LUFS integrated. Apple’s Digital Masters guide advises leaving at least 1 dB of headroom to reduce the risk of clipping during playback. The peak rise varies with the audio and the encode, so test the finished file even if it meets those figures. Spotify’s mastering guidance · Apple Digital Masters guide
How to test your master before release
- Meter the exported master. Measure true peak across the whole track. Note the integrated LUFS if you’re checking it against Spotify’s guidance.
- Preview a lossy copy. Choose a codec and bitrate relevant to the release. You can use a preview plug-in or encode a copy and open it in your DAW. On macOS, Apple’s AURoundTripAAC previews 256 kbps AAC and flags clipping.
- Meter the decoded signal before adjusting the listening level. Check its true peak and compare it with the original. If you decode to a separate file, use floating-point PCM with a decoder that preserves overs. An integer export can clip those peaks before you measure them.
- Compare at matched loudness. Line up the same passage and adjust playback gain so the versions sound equally loud. Switch between them on the loudest section and on passages with exposed vocals, cymbals or sharp drum hits.
- Adjust and re-encode if needed. If the decoded true peak exceeds 0 dBTP, trim the output after the limiter by 0.5–1 dB and check again. If you still hear swishing or softened attacks with peaks below full scale, try a higher bitrate if you control the encode. If you hear distortion in both versions, check the source master and its limiting first.
What file should you deliver?
Send the lossless master in the format your distributor asks for, usually PCM WAV or FLAC where accepted. Keep the lossy copy for auditioning. Converting an MP3 to WAV cannot recover the discarded information, and another lossy encode can add artefacts. Spotify’s delivery specifications