Enchant.
Tools / Audio Concepts / 5. Information Theory (The Deep Root)
5. Information Theory (The Deep Root) · Concept 4 of 6

Source Coding Theory

It is the science of squeezing audio down to the smallest honest size without binning anything that actually matters.

Source Coding: shrink without binning the real sound WAV (loose pile) 10 MB / stereo min ENCODER predict + entropy-code find repeats, silence, patterns FLAC (packed) ~5 MB (50%) Lossless round-trip: decode rebuilds the IDENTICAL file (0 loss) original samples exact rebuild packed bits travel Entropy H = floor: cannot losslessly shrink below the real info present

WAV unpacks to FLAC and back bit-for-bit: redundancy removed, real sound untouched.

What it is

Source coding is squeezing audio to the smallest honest size by removing redundancy, not real sound.

Key facts

How it works

  1. Read the raw audio stream (PCM samples) coming off the file
  2. Predict each sample from the ones before it - silence and tones are highly predictable
  3. Store only the small prediction ERROR, not the full value (this is the clever packing)
  4. Entropy-code those errors: frequent small values get short bit codes, rare big ones get long codes
  5. Wrap it in a container (FLAC/ALAC) with headers so a decoder can rebuild it
  6. Decode = run the maths backwards to get the EXACT original samples back

Real examples

How it helps in live sound

Everyday analogy

Like vacuum-sealing a doona: same doona, half the bag, and it puffs back to identical when you open it.

Watch out

Myth: 'compressing a file always loses quality.' Wrong - lossless (FLAC/ZIP) is bit-for-bit identical; only LOSSY codecs (MP3/AAC) bin real data.

Fun fact

Shannon proved the hard floor in 1948: no codec, ever invented or yet to come, can losslessly compress below the source's entropy - it is a law of information, like a speed limit.

Key takeaways

  • Lossless = exact copy back; lossy = data gone forever - know which you are using
  • Entropy H is the hard floor: you cannot losslessly go smaller than the information actually present
  • Compression removes REDUNDANCY (repeats, silence, predictable bits), not the music itself
  • Predictable audio shrinks a lot; random/dense audio barely shrinks
  • Archive lossless (FLAC/WAV), share lossy only when quality does not matter
← Previous
Channel Capacity Theorem
☰ All 123 concepts

Need the gear and a crew who know this stuff?

Enchant Entertainment hires and operates sound, lighting and staging across Perth and regional WA.

Get a quoteAll concepts