Robustness

Does clipping or limiting destroy the watermark?

In a local synthetic fixture, +12 dB of hard clipping did not corrupt the symbol signs, and one heavy compressor and limiter fixture still decoded. That is not a guarantee. Clipping is nonlinear, aggressive limiting changes gain over time, and a low-strength watermark has less margin; test the master after the loudness stage, not before it.

Technical basis: +12 dB hard-clip fixture; one heavy limiter fixture; embed limiter ≤0.995 Reviewed: 2026-11-02

How Aureal handles it

The embedder has its own sample-peak limiter, but it is not a mastering limiter: it engages only when the mixed output exceeds 0.999 and then scales the whole buffer so the peak is at most 0.995. That keeps the embedding step from introducing clipping. What happens later is a different problem. Hard clipping flattens peaks and adds broadband harmonics; a look-ahead limiter applies time-varying gain that can pump a low-level watermark. The +12 dB fixture is evidence that the symbol polarity can survive severe distortion, not evidence that every limiter preserves the code.

Common failure mode

“If it survives +12 dB of clipping, any limiter setting is fine.”

Why it fails: The fixture covers one hard-clip case and one compressor case on local material. A limiter's release time, look-ahead and gain reduction interact with the host signal, and the watermark sits far below the program level. A different master, strength or limiter can produce a different result.

Verified example

Test the release master after limiting, at the loudness you will ship:
ffmpeg -i marked.wav -af "alimiter=limit=0.9:attack=5:release=50" limited.wav
node aureal-watermark.cjs detect limited.wav --id 883921
ffmpeg -i marked.wav -af "volume=12dB" -c:a pcm_s16le clipped.wav
node aureal-watermark.cjs detect clipped.wav --id 883921
If the result is marginal, lower the limiter gain reduction or raise the embedding strength before distribution.

Example only. Validate against your own audio, codec and processing chain.

Scope and limits

  • The +12 dB clipping and heavy-limiter results are local fixtures.
  • Clipping is nonlinear and can add broadband distortion.
  • A limiter's time-varying gain can reduce the watermark margin.
  • Test after the final loudness stage, not on the pre-master.

Frequently asked questions

Does the embedder clip the audio?

It includes a sample-peak limiter that engages only above 0.999 and scales the whole buffer to a peak of at most 0.995. It does not replace a mastering limiter, and it does not protect the mark from later clipping.

Is clipping safer than limiting, or the reverse?

There is no general ordering. Both are nonlinear and programme-dependent; the only useful answer is a test on the final master at its release settings.

Test the actual delivery chain. A fixture result is a starting point, not a guarantee for your material.

Open the Studio →