FA-91560 / Digital signal filters / Member archive
Polyphase interpolator omits the L gain · case 05
The interpolated signal is L times too quiet because zero-stuffing removed energy.
Case contract
Input [h, L, samples] (integers). Zero-stuff by L and filter with h, scaled by gain L: y[mL + p] = L sum_j h[jL + p] x[m - j]; return len(samples) * L outputs in time order.
Why this case matters
Interpolators feed DACs and sample-rate converters; gain and phase-indexing slips cause level errors and imaging.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: random interpolator 10 | [12, 8, -4] | [36, 24, -12] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗