audio-math-explainer

audio-math-explainer is a skill for Claude Code, Codex from kunitoki/sonic-skills. It costs 121 tokens per session (789 once invoked), scanned A, original, Unlicense.

An explainer for the mathematics behind digital signal processing, or DSP—the study of how software represents and changes sound. It connects ideas such as Fourier transforms, convolution, filters, sampling, and decibels to code.

In plain words
What is it for?
Use it to understand FFTs, frequency analysis, convolution, filter behavior, windowing, aliasing, gain calculations, and related math-shaped bugs.
Why use it?
DSP formulas can be difficult to apply correctly when the underlying concepts are unfamiliar or when output looks wrong.

Skill for Claude CodeCodex

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

Good fit Use it to understand FFTs, frequency analysis, convolution, filter behavior, windowing, aliasing, gain calculations, and related math-shaped bugs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kunitoki/sonic-skills/audio-math-explainer
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 audio-math-explainer
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 audio-math-explainer

README.md
[![agentmods](https://agentmods.dev/badge/skills/kunitoki/sonic-skills/audio-math-explainer/github.svg)](https://agentmods.dev/skills/kunitoki/sonic-skills/audio-math-explainer)
Your own site
<a href="https://agentmods.dev/skills/kunitoki/sonic-skills/audio-math-explainer"><img src="https://agentmods.dev/badge/skills/kunitoki/sonic-skills/audio-math-explainer/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 audio-math-explainer

Your own site · 80×15
<a href="https://agentmods.dev/skills/kunitoki/sonic-skills/audio-math-explainer"><img src="https://agentmods.dev/badge/skills/kunitoki/sonic-skills/audio-math-explainer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 789 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.00121 $0.00789
Opus 5.5 $0.00048 $0.00316
Sonnet 5.5 $0.00024 $0.00158
Haiku 4.5 $0.00012 $0.00079

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

Security

Grade A, and why

audio-math-explainer 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 3mo 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/audio-math-explainer/SKILL.md · 75 lines

How it starts

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

Audio Math Explainer

The rule: DSP math is small and composable — each concept builds directly on the last. Start with what the user needs, then connect it to code they're writing.

Step 1 — Identify the concept

Topic Core idea Common "why"
Fourier transform / DFT / FFT Decompose signal into frequency components "Why does my FFT output look wrong?"
Convolution Weighted moving average; LTI system response "How does an IR reverb work?"
Z-transform Frequency-domain analysis of discrete systems "How do filter poles/zeros work?"
Biquad / IIR filters Recursive difference equation with feedback "Why does my filter ring / go unstable?"
FIR filters Non-recursive weighted sum "How do I design a linear-phase filter?"
Windowing Reduce spectral leakage in DFT "Why are FFT edges smeared?"
Sample rate / Nyquist Highest representable frequency = sr/2 "What causes aliasing?"
Decibels Log scale for amplitude/power ratios "How do I convert gain to dB?"

If the user's question maps to multiple rows, start with the most fundamental one and build up.

Step 2 — Explain with three anchors

For each concept, give exactly these three things in order:

  1. Intuition — one sentence a musician could understand
  2. Math — the key formula (inline, no walls of derivation)
  3. Code — one-line pseudocode or a real function call from common audio libraries

Keep each anchor to 1–3 lines. Cut anything that doesn't directly answer the question.

Step 3 — Connect to the user's code

After the three anchors:

  • Locate where the math appears in their implementation (coefficient calculation, loop structure, buffer size choice, etc.)
  • Name the exact variable or line where theory becomes code
  • If a value looks wrong, explain which part of the math it violates

Quick connection table

Math concept Where it shows up in code
DFT basis frequencies bin_index * sr / N — each FFT bin
Convolution sum FIR tap loop: y[n] = sum(h[k] * x[n-k])
Z-plane pole radius IIR feedback coefficients a1, a2
Nyquist limit if (freq > sampleRate / 2) clamp(...)
Window function Multiply x[n] *= window[n] before FFT
dB conversion gain_db = 20 * log10(amplitude)

Read the full file on GitHub · 75 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. 3mo ago First seen · 75 lines · 121 tokens per session scan A 4bcbb483b352

Subscribe to this mod's changes

audio-math-explainer is a skill published in the GitHub repository kunitoki/sonic-skills (26 stars, last pushed 6mo ago), licensed Unlicense. It adds 121 tokens to every session and 789 once invoked, about $0.0005 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

audio-math-explainer compared with skills from other repositories

audio-math-explainer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
audio-math-explainerkunitoki/sonic-skillsSkill266mo agoUnlicenseA121Claude Code, Codex
present-paperAperivue/medsci-skillsSkill4064d agoMITA59Claude Code
dsm5magnus919/agent-skillsSkill199yesterdayMITA106Claude Code, Codex
assess-holistic-healthpjt222/agent-almanacSkill462d agoMITA113Claude Code
construct-geometric-figurepjt222/agent-almanacSkill462d agoMITA92Claude Code
derive-theoretical-resultpjt222/agent-almanacSkill462d agoMITA86Claude Code
analyze-prime-numberspjt222/agent-almanacSkill462d agoMITA91Claude Code