dsp-algorithm-guide

dsp-algorithm-guide is a skill for Claude Code, Codex from kunitoki/sonic-skills. It costs 102 tokens per session (853 once invoked), scanned A, original, Unlicense.

An implementation guide for digital signal processing, the computer processing of audio and other signals. It maps common tasks such as filters, reverbs, compressors, pitch shifting, and oscillators to suitable algorithms and verification steps.

In plain words
What is it for?
Use it when implementing audio effects or analysis, including low-pass filters, reverbs, compressors, FFT-based processing, pitch shifters, and anti-aliased oscillators.
Why use it?
It helps choose a reasonable starting algorithm and highlights implementation issues that affect sound quality and correctness. It reduces the risk of selecting an unsuitable approach for the requested effect.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when implementing audio effects or analysis, including low-pass filters, reverbs, compressors, FFT-based processing, pitch shifters, and anti-aliased oscillators.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kunitoki/sonic-skills/dsp-algorithm-guide
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kunitoki/sonic-skills --skill dsp-algorithm-guide
Clone the repo
git clone --depth 1 https://github.com/kunitoki/sonic-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dsp-algorithm-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/kunitoki/sonic-skills/dsp-algorithm-guide/github.svg)](https://agentmods.dev/skills/kunitoki/sonic-skills/dsp-algorithm-guide)
Your own site
<a href="https://agentmods.dev/skills/kunitoki/sonic-skills/dsp-algorithm-guide"><img src="https://agentmods.dev/badge/skills/kunitoki/sonic-skills/dsp-algorithm-guide/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dsp-algorithm-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/kunitoki/sonic-skills/dsp-algorithm-guide"><img src="https://agentmods.dev/badge/skills/kunitoki/sonic-skills/dsp-algorithm-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 853 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00102 $0.00853
Opus 5.5 $0.00041 $0.00341
Sonnet 5.5 $0.00020 $0.00171
Haiku 4.5 $0.00010 $0.00085

Measured 1mo ago against content hash a1d84107cdca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dsp-algorithm-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/dsp-algorithm-guide/SKILL.md · 52 lines

How it starts

The opening of the file, as written. The whole thing — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DSP Algorithm Guide

Three steps: pick the right algorithm family, address implementation concerns, then verify correctness.

Step 1 — Identify the algorithm family

User request Algorithm family Recommended starting point
Lowpass / highpass / bandpass / notch Biquad (IIR) Direct Form II transposed
High-quality parametric EQ, resonant filter Biquad cascade or SVF State Variable Filter (SVF)
Shelving / high-shelf / low-shelf Biquad (Audio EQ Cookbook) Peaking EQ or shelf coefficients
Reverb (algorithmic) FDN or Schroeder/Moorer Feedback Delay Network (FDN)
Reverb (convolution / IR) OLA / OLS Overlap-Add with FFT
Compressor / limiter / expander / gate Level detector + gain computer RMS or peak detector + knee curve
Pitch shift / time stretch Phase vocoder or granular Phase vocoder for tonal material
Anti-aliased oscillator BLIT / PolyBLEP / wavetable PolyBLEP for simple waveforms
Spectral processing / analysis STFT pipeline Overlap-Add / Overlap-Save
Waveshaper / saturation Memoryless nonlinearity Soft-clip with oversampling

Step 2 — Implementation concerns

Work through this checklist before writing any DSP code:

  • Stability — confirm the algorithm's stability condition and check it after every coefficient update (e.g., biquad poles inside unit circle).
  • Coefficient precision — use double for coefficient computation; cast to float for the inner loop only if profiling demands it.
  • Denormal protection — use ScopedNoDenormals/FTZ where available, or add explicit state clamps/noise around feedback paths.
  • Latency reporting — if the algorithm introduces latency (e.g., FFT block size), call setLatencySamples() so the host can compensate.
  • Initialisation — clear all delay-line and state memory in prepareToPlay; never assume zero-init across transport loops.
  • Parameter smoothing — ramp filter coefficients or gain values over a block; abrupt changes cause clicks and, for IIR filters, instability.
  • Oversampling — nonlinear stages (waveshapers, saturators) need at least 2x oversampling to suppress alias products.

Read the full file on GitHub · 52 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 52 lines · 102 tokens per session scan A a1d84107cdca

Subscribe to this mod's changes

dsp-algorithm-guide is a skill published in the GitHub repository kunitoki/sonic-skills (22 stars, last pushed 4mo ago), licensed Unlicense. It adds 102 tokens to every session and 853 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

astro-dso-doc

Bootstraps a deep-sky object (DSO) astrophotography project from raw acquisition frames (own rig, not a smart telescope), AND generates a complete, polished HTML documentation page, a processing checklist, an AstroBin post JSON, a PixInsight process icon set (XPSM), and a ready-to-paste PixInsight project Description…

jjmartres/ai-coding-agents · 311 tokens

ml-experiment-tracker

Plan reproducible ML experiment runs with explicit parameters, metrics, and artifacts. Use before model training to standardize tracking-ready experiment definitions.

0x-Professor/Agent-Skills-Hub · 33 tokens

onekgpd

Queries the 1000 Genomes Project dataset (3,202 whole-genome-sequenced individuals, GRCh38) at the level of individual participants. Use when a question is about individuals or variants in the 1000 Genomes Project cohort: which individuals carry variants matching specific criteria in a gene or region, which…

K-Dense-AI/scientific-agent-skills · 143 tokens

biopython

Provides Biopython workflows for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Supports batch processing, custom molecular-biology pipelines, BLAST automation, structure analysis, and motif analysis.

K-Dense-AI/scientific-agent-skills · 65 tokens

neuropixels-analysis

Analyzes Neuropixels extracellular recordings end-to-end with SpikeInterface. Covers loading SpikeGLX/Open Ephys/NWB data, preprocessing, drift/motion correction, Kilosort4 (and CPU) spike sorting, quality metrics, and unit curation (threshold-based, model-based UnitRefine, and AI-assisted visual review). Use when…

K-Dense-AI/scientific-agent-skills · 99 tokens

pkpd-modeling

Pharmacokinetic and pharmacodynamic modelling and simulation - non-compartmental analysis, compartmental and population PK, PK/PD and exposure-response, TMDD, PBPK orientation, bioequivalence, allometric scaling and first-in-human dose, drug interaction prediction, and Bayesian therapeutic drug monitoring. Use when…

K-Dense-AI/scientific-agent-skills · 273 tokens