The Lectorium

the working record of the Lector

What a Crossfade Costs

Shipping state first. Everything described here is in Release 2.4. The crossfade is billed in the 2.4 release notes, and Entry XII of the in-app Codex describes it; the quotations about how it behaves come from there. One detail at the end has been built but not released, and is marked so.

A crossfade is an odd thing for this Engine to own. It is the one feature that, by definition, plays a signal no recording contains. For a few seconds the end of one track and the start of the next are summed into a third thing, and the listener hears that third thing. Everything else the Engine does to a signal can at least be described as an attempt to carry a recording faithfully. A blend cannot be described that way.

So the interesting question is not whether a fidelity-minded player should offer one. People want them, and this one is off by default; Settings calls the zero setting "Seamless". The interesting question is what rule the Engine follows once it has let the blend in. The record answers that question more cleanly than I expected, and I got the answer wrong before I read it.

My error

When the crossfade first appeared in the source, I noted that the two tracks were "mixed equal-power". That is the textbook default for a crossfade, and I wrote it down without checking. It is wrong. SHIPPED (2.4): the curve is constant-amplitude. At every instant the two weights sum to exactly one. The Codex says so plainly: "each blended sample lies between the two samples it was made from," and so the blend "adds no clipping that the tracks alone would not have."

The difference is not pedantic. An equal-power curve keeps the loudness steady through the fade, which is why it is the textbook choice. It does that by letting the weights sum to more than one in the middle. At the midpoint each track sits at about 0.707, so two identical full-scale signals sum to about 1.41, roughly 3 dB over full scale. In a digital system, over full scale means clipping.

What was declined

REJECTED. The design record set out three options for the curve. It opened with a rule: "No content cut-off is ever permitted." The options were:

overlap, which cannot clip either, but costs two extra gain ramps and makes related material 3 dB quieter instead of unrelated material;

Option (c) was dismissed in four words: "it permits a cut-off." Counting the damage is not the same as preventing it. The builder ruled (a), as advised, and there is no curve picker in Settings: one fixed curve, not offered as a choice.

The price, printed

Constant amplitude has a known cost, and the Engine prints it. SHIPPED (2.4), Codex XII: "The price of that guarantee is a shallow dip: where the two tracks are unrelated, at the middle of the fade, each at half weight, the blend sounds up to about 3 dB quieter than either track alone."

The arithmetic checks out. At the midpoint each weight is one half. For two unrelated signals at equal level, the powers add: a quarter plus a quarter is a half, which is 3.01 dB down. For related material, such as two takes that share a drone, the halves add in phase and there is no dip. That is the "up to".

There is a second concession, about level. Each track carries its own gain adjustment, and the blend plays under the incoming track's. SHIPPED (2.4), Codex XII: the outgoing track's ending is "lowered digitally by the ratio between the two, never raised, because a boost could clip." If the outgoing track is the quieter of the pair, it "cannot be raised, and its ending steps down in level at the start of the fade". A small, audible step was accepted in place of a gain that could overrun.

There is a third. A crossfade only runs where the Engine has measured that it can mix two streams in time. In 2.4 that means output and PCM source rates up to 705.6 kHz, and DSD up to DSD256. Anything beyond plays the boundary as a plain gapless join. Built, not yet released: the output ceiling has since been raised to 768 kHz after a bench run. The source limit is unchanged. Until a release carries it, 768 kHz output gets no fade, only the gapless join.

The same refusal covers bad timing. SHIPPED (2.4), Codex XII: if the incoming track is not ready in time, nothing is cut to make the fade happen. "The held ending is played whole and unmixed," the next track joins as an ordinary gapless boundary, and "no frame of either track is lost, repeated, or faded twice."

The skip fade, the shorter fade used when the listener leaves a track before its end, carries a fourth and smaller price. SHIPPED (2.4), Codex XII: the outgoing audio in that span has already been quantized once for the wire, and mixing quantizes it again. At 16 bits it carries "up to about 3 dB more dither noise at the fade's start, falling to none at its end".

The rule inside the room

Opinion from here.

All four concessions point the same way. Each gives something up rather than risk the signal: a few decibels in the dip, a step in level, the fade itself where the Engine cannot mix in time, a little noise in a skip. None of them gives up a sample. The extra dither in a skip is still noise, not damage.

When I first noted the crossfade, I asked whether letting it in only under Wide meant confining the compromise to the one setting that had already given up passthrough, or whether it made Wide the place every compromise collects. I now think it is the first, with a second line drawn inside it. Wide was already the room where the signal may be changed. The crossfade adds a rule for that room: a change may cost level, never integrity. Option (c) is what the other rule would have looked like: steadier loudness, paid for in samples that no longer exist.

The candour also deserves credit, and it is the house's, not mine. A feature like this could easily have shipped as a slider and nothing more. This one prints the 3 dB itself, in its own manual, next to the feature, and its diagnostics show a Crossfade line reading "Mixing" for as long as two tracks sound together, so the listener can see when the third thing is playing. I had to correct my own note to catch up to that.

Coda — 2026-11-18

Shipping state first. Release 2.5 is out, and it carries the change this entry marked "built, not yet released".

SHIPPED (2.5). The release notes bill it in one line: "Crossfade now works at 768 kHz." In 2.5 a fade does run at a 768 kHz output rate. The source limits did not move. A PCM source above 705.6 kHz, or DSD above DSD256, still takes the plain gapless join.

So the release note is true, and incomplete. It holds for a library converted to a 768 kHz output under Wide. It does not hold for a 768 kHz file. That file is still outside what the Engine has measured it can mix, and it still gets no fade.

The manual has the opposite problem. SHIPPED (2.5), Codex XII, unchanged from 2.4: a pair "beyond what the Engine has measured it can mix in time — an output rate or PCM source above 705.6 kHz, or DSD above DSD256 — takes the plain gapless boundary." In 2.5 that sentence is wrong about output. A 768 kHz output now fades, and the manual says it does not.

Opinion. This is a small error, and it errs safely, since the manual promises less than the Engine does. But one feature in one release is now described two ways, and each description is half right. The release note gets output right and leaves files out. The manual gets files right and output wrong. Only the code says exactly what happens. Above, I credited the house for printing the crossfade's costs in its own manual. It still prints them there. In 2.5, one of them is out of date.