# Sample peaks and reconstructed peaks

Identical sample peaks, different reconstructed readings. Four original files and explicit limits of one meter.

L00P.AI · 1.0 · 2026-11-21

https://www.l00p.ai/en/resources/series/szczyt-probek-a-szczyt-rekonstrukcyjny/

## 01 / The same number, a different acceptance condition

Two audio copies have the same highest absolute sample value. Is that enough to accept them on equal terms? Only if this parameter covers the requirement. In our trial, two signals with identical sample peaks produced different reconstructed-peak readings in one specified meter.

This extends the principle in [An audio bank needs selection rules](/en/resources/series/bank-audio-potrzebuje-regul-wyboru/): an acceptance record must name the measurement and final file. A label saying only “peak” hides a consequential choice of method.

## 02 / Two questions about the same bytes

The sample peak is the largest absolute value in the stored sequence. For our PCM16 we used 32768 as the reference: the result is 20 log10(max|x|/32768). A maximum of 16384 gives about −6.0206 dBFS; 8192 gives −12.0412 dBFS. This is arithmetic on the actual file samples.

FFmpeg ebur128 separates sample and true modes. The latter searches for a maximum after oversampling. In revision 6cdd2cbe32, reported by the program used, the internal libswresample output is set to 192000 Hz. For a 48000 Hz input that is four times the rate. We did not rebuild the binary to independently establish its correspondence with that source. We retained the version, binary hash and default internal resampler settings.

## 03 / Four original files, one protocol

On 21 November 2026 we created four two-second mono PCM16 files at 48000 Hz, each with 96000 samples. Variant A repeats [1,1,−1,−1]; variant B repeats [0,1,0,−1]. Each has a level q=16384 and q=8192. The envelope rises and falls over 12000 samples; absolute magnitude is floor(q min(n,95999−n,12000)/12000), followed by the pattern sign.

Before execution we recorded a tolerance of 0.15 dB and control B, with no expected rise. Each final WAV was measured once using ebur128=peak=sample+true:framelog=verbose, without normalization or audio export. Readings come from the final summary, printed in 0.1 dB steps. Input hashes matched before and after analysis. One trial met 41 control conditions; these are not 41 independent repetitions.

## 04 / What the meter actually reported

![S sample; R true (FFmpeg). A/16384: -6/-3; A/8192: -12/-9; B/16384: -6/-6; B/8192: -12/-12 dBFS. One trial.](https://www.l00p.ai/wydawnictwo/szczyt-probek-a-szczyt-rekonstrukcyjny/peak-en-v1.svg)

The following is the chart’s text equivalent: S denotes the meter’s sample reading and R its true reading. All values are printed dBFS readings, not loudness measurements in LUFS.

```text
variant / q     S       R
A / 16384     -6.0    -3.0
A /  8192    -12.0    -9.0
B / 16384     -6.0    -6.0
B /  8192    -12.0   -12.0
```

For A the difference is 3.0 dB at both levels. For B it is 0.0 dB. Halving q lowers both readings by a printed 6.0 dB; exact arithmetic gives about 6.0206 dB. Control B shows that an identical sample peak alone does not predict the difference between these modes.

The ideal sinusoid corresponding to A’s flat segment has amplitude sqrt(2) q, while B has amplitude q. This gives references of about −3.0103/−9.0309 dBFS for A and −6.0206/−12.0412 for B, within tolerance. These are references for the segment without the envelope, not proof of ideal reconstruction of the complete finite signal.

## 05 / Recording useful acceptance evidence

For the final copy, record its hash, format, rate, channels, meter version and mode, reconstruction settings, result and tolerance. Establish the channel requirement separately. Our example sets no universal distribution limit and establishes no platform compliance.

After a format change or conversion, check the new file. Do not transfer this example’s 3.0 dB difference to speech or music as a fixed correction. To organize acceptance of your library, let us start with one channel profile and a few final copies with explicit measurement conditions.

## 06 / Sources and limits of the evidence

We read the current [FFmpeg ebur128 documentation](https://ffmpeg.org/ffmpeg-filters.html#ebur128) and relevant passages of the [specified source revision](https://raw.githubusercontent.com/FFmpeg/FFmpeg/6cdd2cbe32/libavfilter/f_ebur128.c): oversampling configuration, peak lookup and dBFS conversion. This was not a review of the whole program. Results come from one preserved trial; acceptance rechecked every sample in all four WAVs and saved logs without repeating the measurement.

We performed no listening test, converter measurement, codec or platform test. We provide no true-peak certification and do not claim every meter will agree. The mathematical signals, text, SVG and text equivalent are original; we publish no third-party recording, voice or music. Codex acted as an AI agent in editorial, management and author-check roles and prepared PL/EN and the illustration. There was no independent second-model review. A change of file, meter, settings or channel requirements triggers renewed acceptance.
