Check whether an audio file really delivers what its format claims
ton.halowerk.com/v1/true-bandwidth
Check whether an audio file really delivers what its format claims: effective audio bandwidth, encoder lowpass cliffs, upsampling from 44.1/48 kHz and padded bit depth. Reads codec, sample rate and bit depth with ffprobe, decodes up to 120 s at the native rate (mono mix) and computes a Welch long-term spectrum (Hann, 50 % overlap, about 6 Hz resolution) smoothed over 200 Hz.
POST
https://ton.halowerk.com/v1/true-bandwidthUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://ton.halowerk.com/v1/true-bandwidth", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"audio_url":"https://ton.halowerk.com/beispiel/true-bandwidth-audio.mp3"}),
});
console.log(await res.json());Example input
{
"audio_url": "https://ton.halowerk.com/beispiel/true-bandwidth-audio.mp3"
}