As mastering engineers, our goal is for music to sound impeccable. But once we send that polished WAV or FLAC to distributors, the reality is our masterpieces go through an audio compression process. Streaming platforms use codecs to reduce file size, enabling seamless transmission. And here’s the crucial part: this compression can introduce artifacts that subtly (or not so subtly) alter the sound we worked so hard to perfect.
Understanding which codecs each platform uses and how they affect our audio is a new core task of modern mastering.
The Stars of Compression: Ogg Vorbis, AAC, and Opus
Let’s break down the most common codecs you’ll encounter:
- Ogg Vorbis (Spotify): This is Spotify’s primary codec. You’ll find it in qualities up to 320 kbps for Premium users (considered “very high”) and around 160 kbps for free plans. It’s efficient, but like all lossy compression, it can introduce artifacts, especially in transients and reverb tails. If your master sounds great on Spotify, you’re on the right track!
- AAC (Advanced Audio Coding): This codec is a workhorse in streaming. Spotify uses it for its web player (up to 256 kbps Premium), YouTube (along with Opus), and Tidal for its “Low” quality (320 kbps). AAC is generally perceived as more transparent than MP3 at similar bitrates and is very common in the Apple ecosystem.
- Opus (YouTube): YouTube prefers Opus for most of its playback, especially at higher qualities. Opus is a modern, highly efficient codec designed for both speech and music, offering excellent quality even at low bitrates. It’s important to keep this in mind, even if some codec auditioning plugins don’t directly emulate it. If your music is going to get a lot of engagement on YouTube, it’s worth listening tests on the platform itself.
But it’s not all about lossy compression. Services like Tidal and Qobuz are committed to high fidelity:
- FLAC (Free Lossless Audio Codec): This is the gold standard for lossless audio. Formats like 16-bit/44.1 kHz FLAC (CD quality) or HiRes FLAC (up to 24-bit/192 kHz) don’t remove any information from the original file. This means what you mastered is exactly what the listener will hear, assuming their hardware and software support it. Tidal uses FLAC for its “High” and “Max” quality, and Qobuz uses it extensively for its vast high-resolution catalog.
How Does This Affect My Mastering Workflow?
This is where our expertise and our tools come into play, bridging the gap between the studio and your fans’ ears. We don’t just care about the pristine sound in the WAV; we also focus on how it translates to streaming platforms.
Our primary goal is for your master to sound impeccable in its lossless format. We’ll never sacrifice the quality of the main master to make it sound “perfect” on a lower-quality codec if that compromises the high-resolution version. Codec simulations help us ensure that any inherent compression problems aren’t excessive, striving for the best possible balance across all platforms.
Using various plugins like the Sonnox Fraunhofer Pro-Codec or even macOS’s AU Lab, we carefully listen to how your master sounds through Ogg Vorbis and AAC at their different bitrates. This helps us identify any loss of clarity in the highs or dynamic changes that compression can introduce. One of the most revealing features of these plugins is the ability to listen to the “DIFF” (the difference between the original audio and the compressed version). This shows us exactly what information is being lost or what artifacts are being generated. Sometimes, small adjustments to EQ or the final limiter can make a huge difference. Furthermore, we know that codec compression can generate new inter-sample peaks that exceed 0 dBFS, even if the original master had perfect headroom. That’s why we meticulously monitor this, and if necessary, leave a little more negative headroom in our final limiter to prevent any unwanted digital distortion during streaming playback.
In a world dominated by streaming, mastering no longer ends with a perfect WAV. Understanding and auditioning how your music interacts with platform codecs isn’t just a good practice; it’s an indispensable skill of modern mastering that ensures your music sounds its absolute best for every listener, no matter how they listen.