biquad-filters

Design second-order IIR biquad filters with Transposed Direct Form II.

1|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/SpiralCloudOmega/DevTeam6 --skill biquad-filters
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: biquad-filters
Source: https://github.com/SpiralCloudOmega/DevTeam6/tree/main/.github/skills/audio-dsp/biquad-filters
Command: npx skills add https://github.com/SpiralCloudOmega/DevTeam6 --skill biquad-filters

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Biquad Filter Design skill provides a rigorous, reusable approach to creating second-order IIR filters for audio DSP, enabling precise tone shaping, crossovers, and EQ with stable, efficient implementations.

Core Features & Use Cases

  • Coefficient calculation: uses Audio EQ Cookbook formulas to derive b0, b1, b2, a1, a2 for common filter types.
  • Transposed Direct Form II (TDF2): implements a numerically stable structure with minimal memory.
  • Cascading & stability: supports multi-stage filtering with proper ordering for numerical stability.
  • Real-time parameter smoothing: includes exponential smoothing to avoid clicks during parameter changes.
  • JUCE IIR patterns: demonstrates integration with JUCE DSP patterns for production-ready code.
  • Reference implementations: provides example code blocks for low/high-pass, band-pass, notch, peak, and shelves.

Quick Start

Design a low-pass biquad at 1 kHz with Q = 0.707 and apply it to the current audio chain.

Frequently Asked Questions about biquad-filters

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate biquad filter coefficients for audio equalization?▼

Biquad filter coefficients for audio equalization are calculated using Audio EQ Cookbook formulas to derive b0, b1, b2, a1, and a2 values for common filter types like low-pass, high-pass, and peak filters.

What is the best structure for implementing a stable IIR biquad in real-time audio?▼

The Transposed Direct Form II (TDF2) structure is best for implementing stable IIR biquads in real-time audio, providing numerical stability and minimal memory usage for tone shaping and dynamic filtering.

How do I smooth biquad filter parameter changes to avoid audio clicks?▼

To avoid audio clicks during parameter changes, apply exponential real-time smoothing to the biquad filter coefficients, ensuring seamless transitions when adjusting frequencies, Q values, or gain in dynamic filtering.

Does this biquad filter design approach work with JUCE DSP patterns?▼

Yes, the biquad filter design approach works with JUCE DSP patterns, demonstrating integration for production-ready code that includes coefficient normalization, pole-zero stability checks, and real-time parameter smoothing.

Can I cascade multiple biquad filters for multi-stage crossovers?▼

You can cascade multiple biquad filters for multi-stage crossovers and equalization, using proper filter ordering to maintain numerical stability across stages and satisfy cascading stability requirements.

Why do I need pole-zero stability checks for IIR filters?▼

Pole-zero stability checks are needed for IIR filters to ensure coefficient normalization and prevent unbounded feedback, which is critical when cascading multiple biquad stages or applying dynamic parameter smoothing.