audiolab
v0.5.5Loudness, true-peak and voice-quality analysis of URLs and local files via the hosted AudioLab API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
analyze_loudness Analyze loudness (MixLab)
Loudness and dynamics for a track: integrated LUFS (EBU R128 / BS.1770-4), true-peak (dBTP), loudness range (LRA), crest factor, stereo correlation, mono compatibility, and tonal balance. The answer carries measureStatus: per field its status (validated, proxy, beta, withdrawn), basis and margin where known. Report a proxy as an approximation, never present a withdrawn field as what its name says, and stay inside a stated margin (https://audiolab.tools/docs/start/read-a-response#the-five-statuses). Audio source: a public https URL, or a local file path (`path`).
| Parameter | Type | Description |
|---|---|---|
measureStatus | boolean | Add measureStatus to the answer: the status of each field. On by default; set false to leave it out. |
path | string | Path to a LOCAL audio file on this machine. It is read here and uploaded to the AudioLab API for measuring, so you do not need to host it publicly (files up to 4 MB go in the request body; larger ones… |
round | boolean | Round numbers to what they are worth (dB and LUFS 2 decimals, seconds 3, ms 1, Hz 1, shares 3); same keys and types. On by default; set false for full precision. |
series | boolean | Include the curves and arrays (a large payload). Off by default. |
spectrumCalc | string | Spectrum calculation: v1 (the default until 15 February 2027) or v2 (fixes three errors found against an independent calculation; values change a little, keys do not). |
url | string | Public https URL to the audio file. Provide exactly one of url or path. |
check_target Check audio against a loudness target (Spotify, EBU, etc.)
Verify whether audio hits a delivery target (Spotify -14 LUFS / EBU broadcast -23 / podcast -16 / etc.). Returns pass/fail with per-metric deltas and a concrete ffmpeg loudnorm command to fix if failing. Presets: spotify, apple-music, youtube, tidal, amazon-music, podcast, tiktok, instagram, soundcloud, deezer, ebu-broadcast, atsc-broadcast; or target="custom" with lufs+tp. With an account key, a target you saved on your account also works: give its slug as target (not on the keyless trial). Audio source: a public https URL, or a local file path (`path`).
| Parameter | Type | Description |
|---|---|---|
target * | string | Preset id (spotify, apple-music, youtube, tidal, amazon-music, podcast, tiktok, instagram, soundcloud, deezer, ebu-broadcast, atsc-broadcast), the slug of a target saved on your account (needs an acco… |
lufs | number | |
path | string | Path to a LOCAL audio file on this machine. It is read here and uploaded to the AudioLab API for measuring, so you do not need to host it publicly (files up to 4 MB go in the request body; larger ones… |
tp | number | |
url | string | Public https URL to the audio file. Provide exactly one of url or path. |
analyze_timeseries Loudness over time (for graphing / visualization)
Short-term LUFS samples over time (EBU R128, ~3s window) with their time-base, plus downsampled waveform peaks. Arrays suitable for loudness-over-time charts, level meters, and waveform UIs. Audio source: a public https URL, or a local file path (`path`).
| Parameter | Type | Description |
|---|---|---|
path | string | Path to a LOCAL audio file on this machine. It is read here and uploaded to the AudioLab API for measuring, so you do not need to host it publicly (files up to 4 MB go in the request body; larger ones… |
url | string | Public https URL to the audio file. Provide exactly one of url or path. |
waveformPoints | integer | Waveform peak count (default 200). |
get_spectrum FFT spectrum data
Frequency-domain magnitude data (paired frequency/magnitude arrays) plus energies in 7 standard bands (sub/bass/lowMid/mid/highMid/presence/air). There is no dominant-band field in the response. For spectrum-analyzer UIs and tonal-balance analysis. Audio source: a public https URL, or a local file path (`path`).
| Parameter | Type | Description |
|---|---|---|
path | string | Path to a LOCAL audio file on this machine. It is read here and uploaded to the AudioLab API for measuring, so you do not need to host it publicly (files up to 4 MB go in the request body; larger ones… |
spectrumCalc | string | Spectrum calculation: v1 (the default until 15 February 2027) or v2 (fixes three errors found against an independent calculation; values change a little, keys do not). |
url | string | Public https URL to the audio file. Provide exactly one of url or path. |
analyze_voice Analyze voice quality (VoiceLab)
Speech-quality QA for a voice recording: speech/silence ratio, speaking-rate label, signal-to-noise, noise floor, pause energy, sibilance risk, clipping severity. Gates a voice take. Status: levels, SNR, noise floor and clipping are validated against known signals; speaking rate, background scene and intelligibility are proxies, and the pause-energy field is not a reverb measure (https://audiolab.tools/lenses). The answer carries measureStatus: per field its status (validated, proxy, beta, withdrawn), basis and margin where known. Report a proxy as an approximation, never present a withdrawn f…
| Parameter | Type | Description |
|---|---|---|
measureStatus | boolean | Add measureStatus to the answer: the status of each field. On by default; set false to leave it out. |
path | string | Path to a LOCAL audio file on this machine. It is read here and uploaded to the AudioLab API for measuring, so you do not need to host it publicly (files up to 4 MB go in the request body; larger ones… |
round | boolean | Round numbers to what they are worth (dB and LUFS 2 decimals, seconds 3, ms 1, Hz 1, shares 3); same keys and types. On by default; set false for full precision. |
series | boolean | Include the curves and arrays (a large payload). Off by default. |
speechDetector | string | Speech detector: v1 (the default until 15 January 2027) or k2 (lets a phrase run on into its soft word starts and endings, at most 100 ms per side). |
url | string | Public https URL to the audio file. Provide exactly one of url or path. |
get_speech_segments Speech segments (VoiceLab)
List voiced speech regions with start/end timestamps and per-segment RMS. For auto-trim and chapter generation. RMS-based voice-activity detection: it finds where speech is, not who is speaking, and it does not detect speaker turns. Status: a proxy, the speech gate is not measured against labelled speech. Audio source: a public https URL, or a local file path (`path`).
| Parameter | Type | Description |
|---|---|---|
path | string | Path to a LOCAL audio file on this machine. It is read here and uploaded to the AudioLab API for measuring, so you do not need to host it publicly (files up to 4 MB go in the request body; larger ones… |
speechDetector | string | Speech detector: v1 (the default until 15 January 2027) or k2 (lets a phrase run on into its soft word starts and endings, at most 100 ms per side). |
url | string | Public https URL to the audio file. Provide exactly one of url or path. |
index_signal Index a signal (SignalLab)
A metadata index for any audio file: content-type guess (voice/music/mixed/noise/silence/unknown) with confidence, brightness & dynamics buckets, a rough band label, clipping/silence regions, and tag suggestions. For triage or auto-tagging a library. Status: content type, regions and confidence come from a frame classifier that is a proxy, not validated on a labelled corpus of real recordings; the tags describe the signal only, never the speaker (https://audiolab.tools/lenses). Set bandLimit:true to ask whether the audio was upsampled: bandLimit.upsampled is yes, no or cannot-say, with the rea…
| Parameter | Type | Description |
|---|---|---|
bandLimit | boolean | Also return bandLimit: whether the audio was upsampled (yes, no or cannot-say), its status, reason and basis. Off by default. |
contentModel | string | Content-type model: v1 (the default until 15 January 2027) or v2 (the newer small learned model). |
measureStatus | boolean | Add measureStatus to the answer: the status of each field. On by default; set false to leave it out. |
path | string | Path to a LOCAL audio file on this machine. It is read here and uploaded to the AudioLab API for measuring, so you do not need to host it publicly (files up to 4 MB go in the request body; larger ones… |
round | boolean | Round numbers to what they are worth (dB and LUFS 2 decimals, seconds 3, ms 1, Hz 1, shares 3); same keys and types. On by default; set false for full precision. |
series | boolean | Include the curves and arrays (a large payload). Off by default. |
url | string | Public https URL to the audio file. Provide exactly one of url or path. |
analyze_profile Analyse against a profile
Measure a file against a named working set of lenses and get back only what that question needs. Profiles: voice (is this take usable, and which phrase is the problem), master (will this translate to real platforms and speakers), provenance (what has been done to this file, and is it all one source), dataset (which of these files are good enough, and why not the rest), environment (what is in this space, and what kind of noise is it), broadcast (does this file meet the delivery spec), loop (is this loop clean, on the grid, and safe to drop in a DAW), room (how long does this room ring, per oct…
| Parameter | Type | Description |
|---|---|---|
profile * | string | Which question to answer. |
contentModel | string | Content-type model: v1 (the default until 15 January 2027) or v2 (the newer small learned model). |
liveEvents | boolean | Also return liveEvents: the events of the live monitor over the whole file, status signals. Off by default. |
measureStatus | boolean | Add measureStatus to the answer: the status of each field. On by default; set false to leave it out. |
path | string | Path to a LOCAL audio file on this machine. It is read here and uploaded to the AudioLab API for measuring, so you do not need to host it publicly (files up to 4 MB go in the request body; larger ones… |
roomSource | string | For the room profile: how the recording was made. clap (default): one clap; balloon: one pop; impulse: the file is an impulse response; sweep: the file holds the sweep of the engine as the room return… |
round | boolean | Round numbers to what they are worth (dB and LUFS 2 decimals, seconds 3, ms 1, Hz 1, shares 3); same keys and types. On by default; set false for full precision. |
series | boolean | Include time series, per-block lanes and per-phrase arrays. Off by default. |
spectrumCalc | string | Spectrum calculation: v1 (the default until 15 February 2027) or v2 (fixes three errors found against an independent calculation; values change a little, keys do not). |
speechDetector | string | Speech detector: v1 (the default until 15 January 2027) or k2 (lets a phrase run on into its soft word starts and endings, at most 100 ms per side). |
url | string | Public https URL to the audio file. Provide exactly one of url or path. |
compare_loudness Compare two tracks (A/B)
Run loudness analysis on TWO sources and return both results for an A/B comparison: master vs reference, before vs after a fix, two encoders, two cuts. The answer carries measureStatus: per field its status (validated, proxy, beta, withdrawn), basis and margin where known. Report a proxy as an approximation, never present a withdrawn field as what its name says, and stay inside a stated margin (https://audiolab.tools/docs/start/read-a-response#the-five-statuses). Audio source: a public https URL, or a local file path (`path`).
| Parameter | Type | Description |
|---|---|---|
measureStatus | boolean | Add measureStatus to the answer: the status of each field. On by default; set false to leave it out. |
pathA | string | First source as a local file path. |
pathB | string | Second source as a local file path. |
round | boolean | Round numbers to what they are worth (dB and LUFS 2 decimals, seconds 3, ms 1, Hz 1, shares 3); same keys and types. On by default; set false for full precision. |
spectrumCalc | string | Spectrum calculation: v1 (the default until 15 February 2027) or v2 (fixes three errors found against an independent calculation; values change a little, keys do not). |
urlA | string | First source URL (e.g. master). Provide urlA or pathA. |
urlB | string | Second source URL (e.g. reference). Provide urlB or pathB. |
analyze_batch Batch: one analysis route over many files
Run one analysis route over up to 20 audio sources in a single call. Returns per-item ok/data/error; each item is metered as one call. Routes: mixlab/analyze (default), mixlab/check-target, mixlab/timeseries, mixlab/spectrum, voicelab/qa, voicelab/segments, signallab (signallab/index also works). Use for folder QA, library indexing, or checking a whole release against a loudness target. On mixlab/analyze, voicelab/qa and signallab/index each item carries measureStatus (on by default): report a proxy as an approximation, never a withdrawn field as what its name says. Sources: public https urls…
| Parameter | Type | Description |
|---|---|---|
bandLimit | boolean | For signallab/index: also return bandLimit per file, with upsampled yes, no or cannot-say (see index_signal). |
contentModel | string | Content-type model: v1 (the default until 15 January 2027) or v2 (the newer small learned model). |
endpoint | string | Analysis route to run for every item (default mixlab/analyze). analyze/profile and qc are not batch routes. |
lufs | number | For target="custom": integrated LUFS target. |
measureStatus | boolean | Add measureStatus to the answer: the status of each field. On by default; set false to leave it out. |
paths | array | LOCAL audio file paths; each is read here and uploaded over a one-shot signed URL, measured by the API, and swept from storage within the hour. Combined max 20 items with urls. |
round | boolean | Round numbers to what they are worth (dB and LUFS 2 decimals, seconds 3, ms 1, Hz 1, shares 3); same keys and types. On by default; set false for full precision. |
series | boolean | Include the curves and arrays (a large payload). Off by default. |
spectrumCalc | string | Spectrum calculation: v1 (the default until 15 February 2027) or v2 (fixes three errors found against an independent calculation; values change a little, keys do not). |
speechDetector | string | Speech detector: v1 (the default until 15 January 2027) or k2 (lets a phrase run on into its soft word starts and endings, at most 100 ms per side). |
target | string | For mixlab/check-target: preset id (spotify, ebu-broadcast, podcast, …) or "custom". |
tp | number | For target="custom": max true-peak (dBTP). |
urls | array | Public https URLs to audio files. Combined max 20 items with paths. |
get_usage Where your API key stands this month
Your plan, the period, calls used / limit / remaining, data used / limit / remaining (bytes) and requests per minute for the API key in use, the same numbers as /account. Needs a key; reading it is free and does not count as a call. Call it before a large batch to see what is left. On a trial key (no account) the answer carries a keep field; on a Voice key a voice field with the minutes.
check_qc QC verdict against a spec or your own limits
One verdict, pass / warn / fail, for a file against a spec or your own limits, rule by rule: each rule has the measured value, its status (validated, proxy, beta), the limit, an outcome (pass, fail, uncertain, information, not-measured), how far past the limit and what to do. There is no composite score: the verdict follows from the rules. A proxy only informs; a value past its limit by less than the margin of its measure is uncertain and gives warn; a measure that could not be taken is not-measured. Critical faults (voice.clipping, chain.dropoutCount, level.peak) are on by default. Send spec…
| Parameter | Type | Description |
|---|---|---|
critical | array | Which critical faults are on. All three by default; [] switches them off. |
limits | object | Your own limits per lens id: {"loudness.integrated": {"min": -17, "max": -15}}. Send spec or limits, not both. |
path | string | Path to a LOCAL audio file on this machine. It is read here and uploaded to the AudioLab API for measuring, so you do not need to host it publicly (files up to 4 MB go in the request body; larger ones… |
spec | string | A named set of limits: starting-point or target-<preset>. Send spec or limits, not both. |
url | string | Public https URL to the audio file. Provide exactly one of url or path. |