agentsclimarketplace

Audio artifacts debug

Skill kunitoki/sonic-skills/skills/audio-artifacts-debug

Modular Markdown-based audio skills for AI agents and developers, covering signal processing, synthesis, effects, analysis, and spatial audio.

Install
npx -y skills add kunitoki/sonic-skills --skill audio-artifacts-debug

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 14 stars14 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Systematic checklist for diagnosing audio artifacts. Use when the user describes a sound quality problem — clicks, pops, crackling, silence, DC offset, aliasing, phase issues, or latency problems. Trigger on phrases like "why do I hear clicks?", "my output has DC offset", "there's aliasing in my oscillator", "phase is wrong in mono", "dropout when CPU spikes". Pairs with audio-dsp-review (realtime safety) and audio-numerics-review (numeric correctness) — use those to fix once the cause is found.

SKILL.md

4.0 KB, as published. Nobody here has run it

Audio Artifacts Debug

Audio artifacts have diagnostic signatures — match the symptom to the root cause before touching code.

Step 1 — Characterize the artifact

Ask these questions before reading any code.

Artifact typeQuestions to ask
Clicks / popsRegular or random? On buffer boundaries? At note on/off? After channel strip toggle?
Crackling / distortionConstant or load-dependent? Does it correlate with signal level? Worse on silent decay?
Silence / dropoutImmediate or gradual? Only under load? After a specific number of voices? Recovers?
DC offsetConstant or drift? Present from first sample? Appears only after long silence?
AliasingAudible as high-frequency mirror tones? Pitch-dependent? Present at all sample rates?
Phase issuesStereo image collapse in mono? Comb filtering? Only on parallel paths or mid-side?
LatencyDAW reports wrong delay compensation? Wet/dry misaligned? Only at certain buffer sizes?

Step 2 — Narrow to root cause

SymptomLikely causeSkill / check to apply
Click at fixed buffer-length intervalsBuffer boundary discontinuity — uninitialized tail, missing sample-accurate fadeaudio-dsp-review: check process entry/exit
Click correlates with xrun logCPU overload — audio thread missed deadlineaudio-dsp-review: scan for allocations, locks, I/O
Crackling scales with signal amplitudeClipping or fixed-point overflowaudio-numerics-review: overflow, Q-format multiply
Crackling on silent decayDenormal floats — FTZ absentaudio-numerics-review: denormal section
Dropout / silence under loadxrun, NaN propagation, or buffer too small for latencyaudio-dsp-review + audio-numerics-review: NaN guards
Silence after large valueNaN propagated from unclamped sqrt / divisionaudio-numerics-review: NaN / Inf section
DC offset from first sampleUninitialized filter state or delay lineaudio-numerics-review: precision loss / state init
DC offset after long silenceFTZ leaving near-zero state; missing high-passaudio-numerics-review: denormal / FTZ section
Aliasing pitch-tracks with noteOscillator not bandlimited; no anti-alias before downsamplingaudio-numerics-review: check sample-rate handling
Stereo collapses to monoUnmatched processing on L/R; phase inversionaudio-dsp-review: check parallel path symmetry
Comb filtering on monoLatency mismatch on parallel pathsPlugin reports incorrect getLatencySamples()
Latency wrong at buffer-size changePlugin caches latency at init only; not updated on reconfigureaudio-dsp-review: check prepareToPlay reset

Step 3 — Structured diagnosis report

## Audio Artifact Diagnosis: `[file / symptom]`

### Artifact characterization
Type: [clicks | crackling | silence | DC | aliasing | phase | latency]
Observed: [when / under what conditions]
Reproducible: [always | intermittent | load-dependent]

### Root cause hypothesis
Likely cause: [one sentence]
Evidence: [what in the code supports this]
Skill to apply: [audio-dsp-review | audio-numerics-review | both]

### Specific checks to run
1. [file:line] — [what to inspect]
2. ...

### Recommended fix
[Concrete action — no placeholder text]

For artifact-specific diagnostic questions and check-by-check references see references/artifact-patterns.md.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.