SignalLab

Index an audio file (tags, content type, clipping/silence, metadata)

Note: use /v1/signallab, not /v1/signallab/index. The hosting layer strips a trailing /index from any path, so the older form redirects and then 404s for clients that do not follow redirects.

post/v1/signallab

Request

  • Base URL: https://audiolab.tools
  • URL: https://audiolab.tools/v1/signallab
  • Auth: HTTP bearer

Request body

urlstring uri

Public http(s) URL to the audio file (alternative to multipart upload).

objectPathstring

Path returned by /api/upload-url, for audio that has no public URL. Readable only by the key that uploaded it, and kept for about an hour so a follow-up question about the same file does not need a re-upload.

seriesboolean

Send the curves as well: regions, energyEnvelope and centroidEnvelope. Off by default since 22 September 2026, because they are ~98% of the payload and no answer needs them. Raw or multipart callers use ?series=true.

roundboolean

Round the numbers to what the measurement is worth: dB and LUFS to 2 decimals, seconds to 3, shares to 3, Hz to 1. Same keys, same types, only fewer decimals. Off by default: without it you get the full precision, exactly as before. Supported on mixlab/analyze, voicelab/qa, signallab and analyze/profile.

measureStatusboolean

Add one extra key, measureStatus, with the status (validated, proxy, beta, withdrawn, planned), the basis, how it works (dsp, model, mixed) and, where known, the margin of every measure in the answer. Off by default: without it the answer has no extra key. Supported on mixlab/analyze, voicelab/qa, signallab and analyze/profile.

contentModel'v1' | 'v2'

Which model gives the content type (voice, music, mixed, noise, unknown) and its confidence. v1 is the first model and is the default until 15 January 2027; v2 is the new one, much better on speech and music in the tests (see the status of signal.contentType at https://audiolab.tools/lenses). The same keys and types in both, only the values differ, and with v2 the evidence list contains model:v2. From 15 January 2027 the default becomes v2 and v1 stays selectable until at least 15 April 2027. Supported on signallab and analyze/profile.

Example request

{
  "url": "https://audiolab.tools/reference/is-original.mp3"
}

Response

Index complete.

fileNamestring required
fileSizeKbnumber
formatstring
durationSecnumber required
sampleRateinteger required
channelsinteger required
bitDepthGuessstring

A guess from the file type (16/24-bit guess for WAV, lossy for compressed formats). Not read from the samples.

peakDbnumber
rmsDbnumber
noiseFloorDbnumber
dcOffsetnumber
hasClippingboolean
clippingRegionsinteger
silenceRegionsinteger
silenceTotalSecnumber
contentTypeGuess'voice' | 'music' | 'mixed' | 'noise' | 'silence' | 'unknown' required
contentConfidencenumber
contentEvidencestring[]

The measurements that back the content type, as tags.

beatStabilitynumber nullable

Deprecated alias of tempo confidence; one release, then gone.

spectralFlatnessnumber

Flatness of the opening 10 s, 0 tonal to 1 noise-like.

loopSeamRationumber nullable

Wrap-around jump divided by the mean sample-to-sample step. Under 3 inaudible, above 10 a click. Null on files too short to judge.

edgeSilenceStartMsnumber

Milliseconds under -60 dBFS at the start.

edgeSilenceEndMsnumber

Milliseconds under -60 dBFS at the end.

inputSha256string nullable

SHA-256 of the submitted bytes, when supplied.

bandwidthHznumber nullable

Median per-block bandwidth over the non-silent blocks, Hz.

lossySource'lossless' | 'lossy ~64k' | 'lossy ~128k' | 'lossy ~256k' | 'unknown'

The wall a lossy encoder leaves, or unknown where two explanations collide (a 64 kbps wall and a sharp resample read the same).

effectiveBitDepthinteger nullable

Bits actually in use: 16 in a 24-bit container reads 16. Null under a thousand non-silent samples.

upsampledFromHznumber nullable

Likely original sample rate behind a resampler-shaped roll-off, or null.

bandwidthSplicesinteger

Bandwidth jumps of more than 3 kHz that hold for at least two seconds.

toneProminenceDbnumber nullable

Most prominent tone against the masking noise in its critical band, dB (ISO 1996-2 annex C). Null on speech and under 0.17 s.

toneFrequencyHznumber nullable
toneLabel'none' | 'audible' | 'prominent' nullable

Null where no tone was measured; see toneProminenceDb.

brightnessBucket'Dark' | 'Balanced' | 'Bright' | 'Very bright'
dynamicsBucket'Flat' | 'Compressed' | 'Modern' | 'Dynamic'
dominantBandstring

A rough band label from the zero-crossing rate. Not the band with the most energy.

monophonicProbabilitynumber

Left-right correlation, never below 0. Near 1 means mono in disguise. Not a probability.

totalRegionsinteger

Regions the engine found, before any cap.

returnedRegionsinteger

Regions in this response. Lower than totalRegions when truncated.

truncatedboolean

True when more than 500 regions were found and only the longest 500 are returned.

energyEnvelopenumber[]
centroidEnvelopenumber[]

Zero-crossing rate per frame, a rough brightness trace. Not a spectral centre in Hz.

tagsstring[]

Example response

{
  "measureStatus": {
    "legend": "https://audiolab.tools/docs/start/read-a-response#the-five-statuses"
  }
}

Changes

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