Skip to content
Fourohtwo

format.halowerk.com/v1/audio-cue-pcm-alignment

Audio cue sample alignment translates a track start to PCM sample frames and reports any fractional sample. Use it when an agent needs positioning a decoder at a cue boundary.

BaseAnswering
POSThttps://format.halowerk.com/v1/audio-cue-pcm-alignment

Uptime100% of 2 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://format.halowerk.com/v1/audio-cue-pcm-alignment", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"sample_rate":44100,"text":"FILE \"6RDuz0d7.M5S.wav\" WAVE\nTRACK 02 AUDIO\nINDEX 01 00:00:00\nTRACK 03 AUDIO\nINDEX 01 02:31:37\nTRACK 04 AUDIO\nINDEX 01 07:33:18","track":3}),
});
console.log(await res.json());

Example input

{
  "sample_rate": 44100,
  "text": "FILE \"6RDuz0d7.M5S.wav\" WAVE\nTRACK 02 AUDIO\nINDEX 01 00:00:00\nTRACK 03 AUDIO\nINDEX 01 02:31:37\nTRACK 04 AUDIO\nINDEX 01 07:33:18",
  "track": 3
}