Skip to content
Fourohtwo

ton.halowerk.com/v1/disc-cue-crossfade-bounds

CD cue crossfade planning caps a requested symmetric overlap at the program material available on both sides of a track boundary. Use it when an agent needs a frame limit for an editorial transition.

BaseAnswering
POSThttps://ton.halowerk.com/v1/disc-cue-crossfade-bounds

Uptime100% 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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://ton.halowerk.com/v1/disc-cue-crossfade-bounds", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"before_track":2,"leadout":450,"requested_frames":100,"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

{
  "before_track": 2,
  "leadout": 450,
  "requested_frames": 100,
  "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"
}