Skip to content

NRSC-5 AM

The AM module uses the same audited NRSC-5 codebase and browser ABI as FM, with the AM service's distinct sample geometry and acquisition mode.

Input geometry

Property Value
Domain complex IQ
Exact rate 1,488,375/32 S/s = 46,511.71875 S/s
Bandwidth 18 kHz minimum, 30 kHz preferred, 40 kHz maximum
Demodulation family NRSC-5 AM hybrid/full-digital
Module budget 1,024 MiB
flowchart TB
    CU8[Receiver CU8] --> VFO[AM channel center]
    VFO --> RES[Exact 1,488,375/32 resampling]
    RES --> WASM[Vendored nrsc5 AM path]
    WASM --> ACQ[AM synchronization and OFDM processing]
    ACQ --> FEC[Deinterleave / convolutional / RS]
    FEC --> SERVICE[SIS, SIG, PIDS, audio/data services]
    SERVICE --> UI[Audio, events, objects, station intelligence]

The rate is represented as a rational pair throughout the manifest, channelizer, clock mapper, and ABI. Rounding it to 46.512 kHz in code would accumulate timing drift and is not acceptable.

Shared and distinct behavior

FM and AM share provenance, wrapper isolation, service parsing, HDC audio, and bounded event/media plumbing. They do not share input bandwidth, resampling, or physical acquisition geometry. The selected manifest fixes those values before the worker starts.

The FM page's public-service/content rules apply to AM too: stereo/exclusive audio handoff, restricted-service enforcement in UI and module, bounded radio content, and non-safety-certified emergency labels. Shared artifact identity does not make the acquisition modes equivalent.

The AM page remains separate because a passing FM fixture is not positive AM qualification. Common unit/artifact coverage exists; positive live or captured AM validation remains a stated support gate where no redistributable known-good recording is present.

Validation

Synchronization, FEC diagnostics, audio, and service objects remain separate states. The UI must not infer a valid NRSC-5 AM service merely from an AM-band frequency or generic digital candidate. Replay uses the original sample-time mapping and resets across discontinuities.

The unstruck 6B.5 gates and Reconciled Phase 6 Completion Ledger in docs/roadmap/decoders.md remain authoritative for acceptance. Preserve the positive-AM gate and the wider rate/lane/failure, comparison, diagnostic and resource matrix; do not mark AM accepted because the shared artifact instantiates.