FA-10808 / PCM sample encoding / Member archive
Float to pcm16 endpoint clamp · case 03
Positive full scale quantizes to unrepresentable 32768 without final clamping.
Case contract
Convert finite float amplitudes to signed16 using scale32768, nearest ties toward positive infinity, then saturate.
Why this case matters
A pure Python local audio pipeline stage with explicit sample formats and frame conventions; no real-time device or signal-spectrum claims.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fixture 1 | [-32768, 0, 32768] | [-32768, 0, 32767] | 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 ↗