MakerPortal Biquad Design API

The Biquad Design API from MakerPortal — 1 operation(s) for biquad design.

GitHub OpenAPI

Operations 1

GET /api/v1/biquad-design Design one RBJ-cookbook biquad and report its numerical behaviour #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/makerportal-ai:makerportal-ai-biquad-design-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

makerportal-ai-biquad-design-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MakerPortal compute Biquad Design API
  version: 1.0.0
  summary: Deterministic engineering solvers — the same functions that render the published pages.
  description: 'Three solvers, exposed as GET endpoints. Every one is the *identical function* that renders the corresponding page on makerportal.ai, assigned by reference in a single registry, so an answer here and an answer on the page cannot disagree.


    There is no market-data relay and no model proxy behind any of these — they are own-solver computation only, and no request leaves the function.


    Every response carries `provenance.canonicalUrl`: the published page for exactly these inputs when one exists, and the lane hub when the inputs are off the published grid.


    Numbers that are not finite are encoded as the strings "Infinity", "-Infinity" and "NaN". These are real answers, not error states: a notch is −∞ dB at its centre frequency and a low-pass is −∞ dB at Nyquist. JSON has no numeric literal for them and `null` would be a different claim, so a string sentinel is the only encoding that does not lose the answer.'
  license:
    name: Free with attribution
    url: https://makerportal.ai/terms
  contact:
    url: https://makerportal.ai/contact
servers:
- url: https://makerportal.ai
tags:
- name: Biquad Design
paths:
  /api/v1/biquad-design:
    get:
      operationId: biquadDesign
      summary: Design one RBJ-cookbook biquad and report its numerical behaviour
      description: '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.


        Numbers that are not finite are encoded as the strings "Infinity", "-Infinity" and "NaN". These are real answers, not error states: a notch is −∞ dB at its centre frequency and a low-pass is −∞ dB at Nyquist. JSON has no numeric literal for them and `null` would be a different claim, so a string sentinel is the only encoding that does not lose the answer.'
      parameters:
      - name: type
        in: query
        required: true
        description: Filter type.
        schema:
          type: string
          enum:
          - lowpass
          - highpass
          - bandpass
          - notch
          - allpass
          - peaking
          - lowshelf
          - highshelf
      - name: freq
        in: query
        required: true
        description: Corner (or centre) frequency f0 in Hz. Must be below Nyquist.
        schema:
          type: number
          minimum: 0.1
          maximum: 1000000
      - name: fs
        in: query
        required: false
        description: Sample rate in Hz. Defaults to 48000.
        schema:
          type: number
          minimum: 1000
          maximum: 768000
          default: 48000
      - name: q
        in: query
        required: false
        description: Filter Q. Defaults to the type’s own default. Shelves ignore it (S is fixed at 1, matching Web Audio).
        schema:
          type: number
          minimum: 0.01
          maximum: 100
      - name: gain
        in: query
        required: false
        description: Peak/shelf gain in dB. Ignored by types that do not use gain.
        schema:
          type: number
          minimum: -40
          maximum: 40
      - name: include
        in: query
        required: false
        description: 'Comma-separated heavy blocks to include. `curve`: The 240-point log-spaced magnitude response, and one per sweep row.'
        schema:
          type: string
      responses:
        '200':
          description: A solved answer, with provenance.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SolverEnvelope'
              example:
                inputs:
                  type: lowpass
                  freqHz: 1000
                  fs: 48000
                  q: 0.7071067811865476
                  gainDb: 0
                result:
                  groupDelayMs: 0.22572314451469538
                  type:
                    slug: lowpass
                    label: Low-pass
                    noun: low-pass filter
                    defaultQ: 0.7071067811865476
                    defaultGainDb: 0
                    usesGain: false
                    f0Db: -3.0103
                    purpose: Passes everything below the corner and rolls off above it at 12 dB/octave.
                  freqHz: 1000
                  fs: 48000
                  q: 0.7071067811865476
                  gainDb: 0
                  coeffs:
                    b0: 0.003916126660547383
                    b1: 0.007832253321094766
                    b2: 0.003916126660547383
                    a0: 1
                    a1: -1.815341082704568
                    a2: 0.8310055893467576
                  poles:
                    real: false
                    radii:
                    - 0.9115950797074092
                    - 0.9115950797074092
                    maxRadius: 0.9115950797074092
                    theta: 0.09282484477211987
                  zeros:
                    real: true
                    radii:
                    - 1
                    - 1
                    maxRadius: 1
                    theta: null
                  dcDb: -4.821637332766449e-14
                  f0Db: -3.010299956639777
                  nyquistDb: -334.7433394195403
                  peakDb: -4.318207296603919e-08
                  peakAtHz: 10
                  minus3LowHz: null
                  minus3HighHz: 1000.0000099351195
                  rates:
                  - fs: 8000
                    coeffs:
                      b0: 0.09763107293781748
                      b1: 0.19526214587563495
                      b2: 0.09763107293781748
                      a0: 1
                      a1: -0.9428090415820635
                      a2: 0.3333333333333333
                    poles:
                      real: false
                      radii:
                      - 0.5773502691896257
                      - 0.5773502691896257
                      maxRadius: 0.5773502691896257
                      theta: 0.6154797086703871
                    nyquistFraction: 0.25
                    f0Db: -3.0102999566398116
                  - fs: 16000
                    coeffs:
                      b0: 0.029954582208092478
                      b1: 0.059909164416184955
                      b2: 0.029954582208092478
                      a0: 1
                      a1: -1.4542435862515848
                      a2: 0.5740619150839548
                    poles:
                      real: false
                      radii:
                      - 0.75766873703747
                      - 0.75766873703747
                      maxRadius: 0.75766873703747
                      theta: 0.2849241266220628
                    nyquistFraction: 0.125
                    f0Db: -3.0102999566398116
                  - fs: 22050
                    coeffs:
                      b0: 0.01681915010705712
                      b1: 0.03363830021411424
                      b2: 0.01681915010705712
                      a0: 1
                      a1: -1.601092394183619
                      a2: 0.6683689946118475
                    poles:
                      real: false
                      radii:
                      - 0.8175383750086889
                      - 0.8175383750086889
                      maxRadius: 0.8175383750086889
                      theta: 0.20423988099258802
                    nyquistFraction: 0.09070294784580499
                    f0Db: -3.010299956639815
                  - fs: 32000
                    coeffs:
                      b0: 0.008442692929079959
                      b1: 0.016885385858159917
                      b2: 0.008442692929079959
                      a0: 1
                      a1: -1.7237761727625094
                      a2: 0.7575469444788291
                    poles:
                      real: false
                      radii:
                      - 0.8703717277570711
                      - 0.8703717277570711
                      maxRadius: 0.8703717277570711
                      theta: 0.1397356289388815
                    nyquistFraction: 0.0625
                    f0Db: -3.010299956639792
                  - fs: 44100
                    coeffs:
                      b0: 0.004603998475022464
                      b1: 0.009207996950044928
                      b2: 0.004603998475022464
                      a0: 1
                      a1: -1.799096409484668
                      a2: 0.817512403384758
                    poles:
                      real: false
                      radii:
                      - 0.9041639250626835
                      - 0.9041639250626835
                      maxRadius: 0.9041639250626835
                      theta: 0.10108717990213778
                    nyquistFraction: 0.045351473922902494
                    f0Db: -3.0102999566398116
                  - fs: 48000
                    coeffs:
                      b0: 0.003916126660547383
                      b1: 0.007832253321094766
                      b2: 0.003916126660547383
                      a0: 1
                      a1: -1.815341082704568
                      a2: 0.8310055893467576
                    poles:
                      real: false
                      radii:
                      - 0.9115950797074092
                      - 0.9115950797074092
                      maxRadius: 0.9115950797074092
                      theta: 0.09282484477211987
                    nyquistFraction: 0.041666666666666664
                    f0Db: -3.010299956639777
                  - fs: 96000
                    coeffs:
                      b0: 0.0010232176384709138
                      b1: 0.0020464352769418276
                      b2: 0.0010232176384709138
                      a0: 1
                      a1: -1.9075016260460762
                      a2: 0.91159449659996
                    poles:
                      real: false
                      radii:
                      - 0.9547745789451875
                      - 0.9547745789451875
                      maxRadius: 0.9547745789451875
                      theta: 0.04631308624221879
                    nyquistFraction: 0.020833333333333332
                    f0Db: -3.010299956639723
                  - fs: 192000
                    coeffs:
                      b0: 0.00026165269506587055
                      b1: 0.0005233053901317411
                      b2: 0.00026165269506587055
                      a0: 1
                      a1: -1.9537279491407762
                      a2: 0.9547745599210397
                    poles:
                      real: false
                      radii:
                      - 0.9771256622978641
                      - 0.9771256622978641
                      maxRadius: 0.9771256622978641
                      theta: 0.023144145931710335
                    nyquistFraction: 0.010416666666666666
                    f0Db: -3.0102999566404565
                  words:
                  - key: float64
                    label: float64
                    coeffs:
                      b0: 0.003916126660547383
                      b1: 0.007832253321094766
                      b2: 0.003916126660547383
                      a0: 1
                      a1: -1.815341082704568
                      a2: 0.8310055893467576
                    qFormat: null
                    poles:
                      real: false
                      radii:
                      - 0.9115950797074092
                      - 0.9115950797074092
                      maxRadius: 0.9115950797074092
                      theta: 0.09282484477211987
                    stable: true
                    worstErrorDb: null
                    worstErrorAtHz: null
                  - key: float32
                    label: float32
                    coeffs:
                      b0: 0.003916126675903797
                      b1: 0.007832253351807594
                      b2: 0.003916126675903797
                      a0: 1
                      a1: -1.8153411149978638
                      a2: 0.8310055732727051
                    qFormat: null
                    poles:
                      real: false
                      radii:
                      - 0.9115950708909658
                      - 0.9115950708909658
                      maxRadius: 0.9115950708909658
                      theta: 0.09282454978987786
                    stable: true
                    worstErrorDb: 2.6850716045393597e-05
                    worstErrorAtHz: 10
                  - key: fixed32
                    label: 32-bit fixed
                    coeffs:
                      b0: 0.003916126675903797
                      b1: 0.007832253351807594
                      b2: 0.003916126675903797
                      a0: 1
                      a1: -1.8153410824015737
                      a2: 0.8310055891051888
                    qFormat:
                      intBits: 1
                      fracBits: 30
                    poles:
                      real: false
                      radii:
                      - 0.9115950795749113
                      - 0.9115950795749113
                      maxRadius: 0.9115950795749113
                      theta: 0.09282484500372117
                    stable: true
                    worstErrorDb: 3.5796645647678815e-08
                    worstErrorAtHz: 2985.72684120468
                  - key: fixed24
                    label: 24-bit fixed
                    coeffs:
                      b0: 0.003916025161743164
                      b1: 0.00783228874206543
                      b2: 0.003916025161743164
                      a0: 1
                      a1: -1.8153409957885742
                      a2: 0.8310055732727051
                    qFormat:
                      intBits: 1
                      fracBits: 22
                    poles:
                      real: false
                      radii:
                      - 0.9115950708909658
                      - 0.9115950708909658
                      maxRadius: 0.9115950708909658
                      theta: 0.09282525519318896
                    stable: true
                    worstErrorDb: 0.00013219851855428676
                    worstErrorAtHz: 10
                  - key: fixed16
                    label: 16-bit fixed
                    coeffs:
                      b0: 0.00390625
                      b1: 0.0078125
                      b2: 0.00390625
                      a0: 1
                      a1: -1.81536865234375
                      a2: 0.83099365234375
                    qFormat:
                      intBits: 1
                      fracBits: 14
                    poles:
                      real: false
                      radii:
                      - 0.9115885323673999
                      - 0.9115885323673999
                      maxRadius: 0.9115885323673999
                      theta: 0.09258424046934609
                    stable: true
                    worstErrorDb: 0.02692806587736385
                    worstErrorAtHz: 1506.759934915174
                  qSweep:
                  - value: 0.5
                    coeffs:
                      b0: 0.0037836976644431432
                      b1: 0.0075673953288862865
                      b2: 0.0037836976644431432
                      a0: 1
                      a1: -1.7539529259855138
                      a2: 0.7690877166432862
                    f0Db: -6.020599913279589
                    peakDb: -0.0008660665892234256
                    peakAtHz: 10
                    minus3Hz: 644.2424436003173
                    maxRadius: 0.8769764735294691
                    groupDelayMs: 0.1596103661570908
                  - value: 0.7071067811865476
                    coeffs:
                      b0: 0.003916126660547383
                      b1: 0.007832253321094766
                      b2: 0.003916126660547383
                      a0: 1
                      a1: -1.815341082704568
                      a2: 0.8310055893467576
                    f0Db: -3.010299956639777
                    peakDb: -4.318207296603919e-08
                    peakAtHz: 10
                    minus3Hz: 1000.0000099351195
                    maxRadius: 0.9115950797074092
                    groupDelayMs: 0.22572314451469538
                  - value: 1
                    coeffs:
                      b0: 0.004015505022857752
                      b1: 0.008031010045715504
                      b2: 0.004015505022857752
                      a0: 1
                      a1: -1.8614084445321082
                      a2: 0.8774704646235392
                    f0Db: 2.314385919727886e-14
                    peakDb: 1.2493873660830257
                    peakAtHz: 707.6117821397753
                    minus3Hz: 1168.1611412557907
                    maxRadius: 0.9367339348094202
                    groupDelayMs: 0.31922073231418246
                  - value: 2
                    coeffs:
                      b0: 0.00414239650255865
                      b1: 0.0082847930051173
                      b2: 0.00414239650255865
                      a0: 1
                      a1: -1.920229656436938
                      a2: 0.9367992424471726
                    f0Db: 6.020599913279687
                    peakDb: 6.300887149282133
                    peakAtHz: 935.5812383018991
                    minus3Hz: 1165.2175193937749
                    maxRadius: 0.9678838992602226
                    groupDelayMs: 0.6384414646283663
                  - value: 4
                    coeffs:
                      b0: 0.0042088978862774564
                      b1: 0.008417795772554913
                      b2: 0.0042088978862774564
                      a0: 1
                      a1: -1.951056722154107
                      a2: 0.9678923136992169
                    f0Db: 12.041199826559357
                    peakDb: 12.10959407186251
                    peakAtHz: 984.294862596622
                    minus3Hz: 1102.7406988099497
                    maxRadius: 0.983815182693994
                    groupDelayMs: 1.2768829292567392
                  - value: 10
                    coeffs:
                      b0: 0.00424983358333473
                      b1: 0.00849966716666946
                      b2: 0.00424983358333473
                      a0: 1
                      a1: -1.970032679537168
                      a2: 0.9870320138705071
                    f0Db: 19.999999999999932
                    peakDb: 20.010870956412642
                    peakAtHz: 997.5039866635099
                    minus3Hz: 1046.221114619591
                    maxRadius: 0.9934948484368236
                    groupDelayMs: 3.1922073231418167
                  gainSweep: []
                provenance:
                  method: RBJ Audio EQ Cookbook coefficients solved in float64, with pole and zero radii from the quadratic roots (never from sqrt(|a2|)), the response curve, the real −3 dB crossings, and what 16/24/32-bit word lengths do to stability and in-band error. Pure mathematics — nothing is fetched and nothing is recalled.
                  canonicalUrl: https://makerportal.ai/lab/biquad/lowpass
                license: free-with-attribution
        '400':
          description: A parameter was missing, unparseable or out of range — or the query named a parameter or include block this endpoint does not declare, or gave one twice. Never a 500.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: 'Best-effort per-instance rate limit. Not a quota: there is no shared counter, and identical requests are served from the CDN without reaching a function at all.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Biquad Design
components:
  schemas:
    SolverEnvelope:
      type: object
      required:
      - inputs
      - result
      - provenance
      - license
      properties:
        inputs:
          type: object
          description: The parsed inputs, echoed back with defaults filled in.
        result:
          type: object
          description: The solved analysis. Shape is per-endpoint; see the example.
        provenance:
          type: object
          required:
          - method
          - canonicalUrl
          properties:
            method:
              type: string
              description: How the answer was computed, and what its inputs are.
            canonicalUrl:
              type: string
              format: uri
              description: The published page for these exact inputs, or the lane hub when they are off-grid.
        license:
          type: string
          enum:
          - free-with-attribution
    Error:
      type: object
      required:
      - error
      - parameter
      properties:
        error:
          type: string
          description: A sentence naming what was wrong.
        parameter:
          type: string
          description: The query parameter at fault.
        valid:
          type:
          - array
          - 'null'
          items:
            type: string
          description: Every accepted value, when the parameter is an enumeration. Null otherwise.