Audio Measures

Measure the sound level (dB SPL) of an audio recording over a specified time window. Useful for environmental noise c…

post/api/soundLevel

Request

  • Base URL: https://platform.vocametrix.com
  • URL: https://platform.vocametrix.com/api/soundLevel
  • Auth: API key in header X-API-Key

Request body

blobUrlstring required

REQUIRED. URL of the audio file (typically obtained via /api/get-blob-url + upload).

start_secnumber required

REQUIRED. Start of the analysis window in seconds. CAVEAT: The server uses a falsy check (!start_sec), so the literal value 0 is rejected — pass a tiny positive value like 0.001 if you mean 'from the beginning'.

stop_secnumber required

REQUIRED. End of the analysis window in seconds. Must be > start_sec.

Response

Successful response

soundLevelnumber

Number — dB value rounded to 2 decimals.

unitstring

String — currently "dB SPL".

frequencyRangenumber

String — currently "20-8000 Hz".

Changes

No recorded changes to this operation across all 1 revision of this API.