# The S-DSP: snes-python's sound generator (staging copy) Staged here to drop into `snes-python/docs/dsp/`; rewritten on 2026-11-19 for snes-python's restart so that nothing rests on reading blargg's snes_spc (LGPL-2.1) or any other GPL/LGPL implementation. The documents now rest on anomie's S-DSP document, fullsnes, the SNESdev wiki, the names of blargg's hardware-verified spc_dsp6 tests, and ares (ISC) for the Gaussian formula; snes_spc is a closed-box referee. snes-python holds the built module (`src/snes_python/dsp/`, `smp.py`) and the comparison tool (`scripts/dsp_compare.py`, which needs the board); this repository holds no module code. 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. 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. 5. [validation.md](validation.md): every oracle, its tier, what ran with its numbers. 6. [handoff-brief.md](handoff-brief.md): the build brief and the rungs. Conventions: `$xN` is voice x's register N; register names follow anomie, fullsnes and the wiki. "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, OBSERVED (snes_spc 0.9.0 as a closed box), HYPOTHESIS. Paths under `reference/dsp/` are fetched by `scripts/dsp_fetch_references.py` and never committed.