# The cut boundary: matching samples do not assess the join

Two exactly cut excerpts need a separate join check. Our own PCM trial demonstrates one explicit boundary metric and its limits.

L00P.AI · 1.0 · 2026-11-21

https://www.l00p.ai/en/resources/series/granica-ciecia-zgodne-probki-nie-oceniaja-polaczenia/

## 01 / Two correct excerpts, a separate question

An export can contain exactly the selected samples and still need a separate check at the join. For a production leader, checking the range and accepting the edit answer different questions. The first establishes what was copied. The second needs its own criterion.

In [A good render is not yet an accepted production](/en/resources/series/dobry-render-to-jeszcze-nie-odebrany-material/), we demonstrated sample equality for one PCM cut. We now add an original two-excerpt trial, measuring the difference between adjacent sample values at their join. We do not assess audible clicks or the meaning of speech.

## 02 / Record the conditions first

The source, created on 21 November 2026, contains 256 mono frames at 48,000 Hz, with signed 16-bit samples. The first 128 values are +12,000; the next 128 are −12,000. This is our own mathematical signal, with no voice or music. In mono, one frame contains one sample.

We select source frames [32,96) and [160,224). The start is included and the end excluded. Each excerpt has 64 frames. After joining, each of the three variants contains 128 frames, 256 PCM data bytes and a duration of 128/48,000 seconds, approximately 2.667 ms. The byte count refers to PCM data, not the entire WAV file.

The protocol, expected values, tolerance and negative control were recorded before execution. We retained the original, commands, results and hashes. The installed FFmpeg build is dated 12 November 2025, revision 6cdd2cbe32. Current online documentation is a separate source; we do not equate it with the installed version.

## 03 / What two fades change

The first variant joins excerpts without changing amplitude. The second linearly fades out the last 16 samples of the first excerpt and fades in the first 16 samples of the second from zero. The third deliberately omits the first excerpt's fade-out: it is a negative control. The nominal 16/48,000 seconds per edge, approximately 0.333 ms, is a trial parameter, not an editing recommendation.

The online FFmpeg filter descriptions distinguish the operations: atrim selects a range, asetpts sets timestamps, concat joins segments, and afade changes amplitude. We set both excerpts' timestamps to start at zero before joining. We also read the installed program's help.

With both fades, the first edge uses multipliers 16/16, 15/16 down to 1/16. Its last stored value is therefore 750, not zero. The zero endpoint would fall outside the first excerpt. The second edge starts at 0/16 and ends at 15/16; the following sample has full amplitude. The excerpts do not overlap. These are separate fades, not a crossfade.

## 04 / One explicit boundary metric

Output indices start at zero. J is the absolute difference y[64]−y[63], measured in integer PCM sample units. It is neither decibels nor a loudness measurement. We also checked the largest adjacent step for indices i from 48 through 80 inclusive: the difference y[i]−y[i−1]. In this trial, that neighbourhood check equals J in every variant.

![Join jump J:no fades24000,both fades750,one-sided12000.Own PCM,no listening.](https://www.l00p.ai/wydawnictwo/granica-ciecia-zgodne-probki-nie-oceniaja-polaczenia/join-boundary-en-v1.svg)

```text
No fades:
12000 -> -12000 | J = 24000

Both fades:
750 -> 0       | J = 750

Second excerpt fade-in only:
12000 -> 0     | J = 12000
```

The saved results met all 22 protocol checks, including comparison of all 384 samples across the three outputs with the predefined formulas. Tolerance was zero units: the chosen values divide by 16 exactly. These are 22 checks of one trial, not 22 independent experiments.

The unfaded variant exactly concatenates the selected ranges. An acceptance check limited to that equality passes it despite J being 24,000. The one-sided control yields 12,000 rather than 750, exposing the missing operation. We have designated none of these numbers as an audibility threshold or a universal audio PASS.

## 05 / The map remains, samples change

Output frames [0,64) correspond to source [32,96); output [64,128) corresponds to source [160,224). For the first excerpt, add 32 to the output index to get the source index; for the second, add 96. Fading changes amplitudes but preserves this position map and frame count in this trial. We do not call a processed excerpt a sample-identical copy.

For a production commission, record separately:

- Selected ranges and their map to the retained source.
- Boundary operations, parameters and tool version.
- The technical metric, tolerance and required evidence.
- Listening to the boundaries and speech context, and who is responsible for that assessment.

A smaller J in this signal does not prove better-sounding speech. We performed no listening, click-audibility, loudness, MP3/AAC or production test. Sample positions do not establish UTC clock synchronization either. To use this acceptance card, start with one real cut and its recipient's criteria.

## 06 / Sources, authorship and correction

The basis is our own protocol and retained PCM files of 21 November 2026, plus the full earlier adaptation on render acceptance. We read the complete selected official documentation sections for [afade](https://ffmpeg.org/ffmpeg-filters.html#afade), [atrim](https://ffmpeg.org/ffmpeg-filters.html#atrim), [concat](https://ffmpeg.org/ffmpeg-filters.html#concat) and [asetpts](https://ffmpeg.org/ffmpeg-filters.html#setpts_002c-asetpts), along with installed help. We do not claim to have read the entire manual.

The Codex agent prepared PL/EN, the deterministic SVG, text equivalent and author checks. The diagram represents measured values of our own signal; it is not a photograph or listening evidence. No third-party recording, voice or illustration was used. There was no independent second-model response.

Edition 1.0. Changed input, tool, ranges or fades, inconsistent hashes, or an error in the map or arithmetic trigger renewed acceptance. One short constant-amplitude trial cannot assess arbitrary edits.
