# Audio Calc: dB Level Summation & Background Subtraction

> Audio Calc: dB Level Summation & Background Subtraction is a paid API for AI agents from audio-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Calculates the combined, averaged, or background-corrected sound level in dB from multiple sources or identical sources.

## Facts

- Endpoint: GET https://audio-calc.x402tookit.com/db-sum?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/audio-calc-db-level-summation-background-subtraction-254820ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4-wbXWcElEUVGZXi6dG9a

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability audio-calc-db-level-summation-background-subtraction-254820ad
```

Example prompt: What's the total sound level if I have three sources at 60, 65, and 70 dB? Just add them up in dB properly.

## When to prefer this

Use this endpoint when you need acoustically correct dB addition, averaging, or background subtraction — not simple arithmetic. It handles the logarithmic nature of decibel math automatically. Prefer it over generic calculators when working with SPL, noise surveys, or multi-source audio setups where linear addition would give wrong results.

## Known failure modes

- Missing required 'levels' or 'count' parameter returns an error
- Non-numeric or malformed comma-separated levels string causes a parse failure
- Count out of range (below 2 or above 100000) may be rejected
- Providing background level higher than total level produces a physically meaningless result
- Network or payment authorization failure returns HTTP 402 or 5xx

## How this service works

Add, average or subtract sound levels in dB: total of several sources, N identical sources, or background-corrected level.

## Output

Returns the computed total dB level, average dB, loudest dB, the dB increase over a single source, the calculation mode used, a plain-language summary, and a disclaimer about assumptions. Null fields indicate values not applicable to the chosen calculation mode.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "count": {
       "type": "integer",
       "description": "With one level: number of identical sources (2 to 100000)"
      },
      "total": {
       "type": "number",
       "description": "Measured total level in dB, for background subtraction"
      },
      "levels": {
       "type": "string",
       "description": "Comma separated levels in dB to add, for example 60,60,70"
      },
      "background": {
       "type": "number",
       "description": "Background level in dB to subtract from total"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "mode": {
       "type": [
        "null",
        "string"
       ]
      },
      "count": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "totalDb": {
       "type": [
        "null",
        "number"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "levelsDb": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "number"
       }
      },
      "averageDb": {
       "type": [
        "null",
        "number"
       ]
      },
      "loudestDb": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "increaseDb": {
       "typ
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/audio-calc-db-level-summation-background-subtraction-254820ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from audio-calc.x402tookit.com](https://www.zero.xyz/host/audio-calc.x402tookit.com/llms.txt)
