# Dsp Runtime

> Use when working on the DSP engine, biquad cascade, kernel math, interpolation, minifloat codec, coefficient ramping, AGC, DF2T render, control blocks, or any code in trench-core/ or the audio path of trench-plugin/

- Skill: `majiayu000/dsp-runtime` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/dsp-runtime`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/dsp-runtime/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/dsp-runtime

---


Before writing any code, read these files:
- `docs/context/runtime-pipeline.md` — proven CPhantomRTFilter pipeline, memory layout, bilinear interpolation, minifloat codec
- `docs/context/q-law.md` — Q architecture, SINC table correction

Key constraints:
- Plugin runtime is 44100 Hz. Never 39062.5 in audio path.
- Interpolate kernel-form [c0..c4] only. Never raw biquad [b0,b1,b2,a1,a2].
- Interpolation order: Q first, then morph.
- 32-sample control blocks, per-sample ramping.
- No allocations on audio thread. The commit-guard hook will catch this but don't rely on it.
- Read `trench-core/CLAUDE.md` for kernel form, AGC table, stability rules

