ton.halowerk.com/v1/disc-cue-sample-count-fit
CD cue file-length validation checks whether every index fits the given PCM sample count and reports partial CD frames. Use it when an agent needs a structural check of the audio file against its cue markers.
POST
https://ton.halowerk.com/v1/disc-cue-sample-count-fitUptime100% of 1 check 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/disc-cue-sample-count-fit", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"sample_rate":44100,"samples":264600,"sheet":"FILE \"interval.wav\" WAVE\nTRACK 01 AUDIO\nINDEX 01 00:00:00\nTRACK 02 AUDIO\nFLAGS PRE\nINDEX 00 00:01:00\nINDEX 01 00:02:00"}),
});
console.log(await res.json());Example input
{
"sample_rate": 44100,
"samples": 264600,
"sheet": "FILE \"interval.wav\" WAVE\nTRACK 01 AUDIO\nINDEX 01 00:00:00\nTRACK 02 AUDIO\nFLAGS PRE\nINDEX 00 00:01:00\nINDEX 01 00:02:00"
}