# The S-DSP: snes-python's sound generator Researched in the staging repository `s-dsp-python` (folded in here on 2026-10-21) and rewritten for the restart on 2026-11-19 (`docs/restart.md`): the documents now rest only on anomie's S-DSP document, fullsnes, the SNESdev wiki, blargg's test names and notes, and ares (ISC) for the Gaussian formula; blargg's snes_spc is a closed-box referee. The module is built: `src/snes_python/dsp/` and the S-SMP side `src/snes_python/smp.py`. Where it stands is in [status.md](status.md). The S-DSP is a module **inside the board** (Aubrey, 2026-10-21): it has no consumer outside SNES-family hardware, and an .spc player is a mode of the board, not a second consumer. It sits behind a pin-shaped interface and an import-boundary test, as gameboy-python's `apu/` does; it is extracted with its history only if an emulator outside the SNES family ever needs it. Read in this order: 1. [start-here.md](start-here.md): what the chip does, register by register. 2. [timing.md](timing.md): the 32-step schedule, the latch points, the ordering against the S-SMP. 3. [undocumented-behavior.md](undocumented-behavior.md): quirks U1-U24, open items C1-C18. 4. [interface.md](interface.md): the module's pins and the S-SMP side's API for the board. 5. [validation.md](validation.md): every oracle, its tier, and what ran with its numbers. 6. [handoff-brief.md](handoff-brief.md): the build brief and the rungs. 7. [status.md](status.md): rungs passed, commands, counts. Conventions: `$xN` is voice x's register N (x = 0-7); register names follow anomie, fullsnes and the wiki (`ADSR1` = `$x5`, `ADSR2` = `$x6`). "Step" is one of the 32 S-SMP clocks of a sample (anomie's "cycle"); voice operations are anomie's S1-S9. Evidence tags: DOC, TEST ROM (a spc_dsp6 test name), OBSERVED (snes_spc 0.9.0 run as a closed box), HYPOTHESIS. Paths under `reference/dsp/` are fetched by `scripts/dsp_fetch_references.py` from `scripts/dsp_pinned_*.json` and never committed.