Skip to main content
Glama

Design one RBJ-cookbook biquad and report its numerical behaviour.

biquadDesign

Design one RBJ-cookbook biquad and report its numerical behaviour.

The identical function behind the /lab/biquad coefficient tables. Returns coefficients at the requested sample rate, coefficients at every other rate whose Nyquist limit clears the corner, pole/zero geometry, the −3 dB points solved by bisection, a Q sweep, a gain sweep where the type uses gain, and the quantised forms. The 240-point response curve is omitted unless include=curve is passed. Non-finite values (a notch is −∞ at f0; a low-pass is −∞ at Nyquist) are encoded as the strings "Infinity", "-Infinity" and "NaN" — JSON has no other honest option, and null would be a different answer.

Every result carries provenance.canonicalUrl — the published page for these exact inputs, or the lane hub when they are off the published grid.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoFilter Q. Defaults to the type’s own default. Shelves ignore it (S is fixed at 1, matching Web Audio).
fsNoSample rate in Hz. Defaults to 48000.
freqYesCorner (or centre) frequency f0 in Hz. Must be below Nyquist.
gainNoPeak/shelf gain in dB. Ignored by types that do not use gain.
typeYesFilter type.
includeNoOptional heavy block to include, omitted by default. "curve": The 240-point log-spaced magnitude response, and one per sweep row.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsYesThe parsed inputs, echoed back with defaults filled in.
resultYesThe solved analysis. Shape is per-tool.
licenseYes
provenanceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources