Measure the tuning reference of a music recording
ton.halowerk.com/v1/tuning-reference
Measure the tuning reference of a music recording: estimated A4 in Hz, deviation from 440 Hz in cents, and tuning drift over time. Decodes up to 10 minutes (mono, 22.05 kHz). Spectral peaks between 80 and 2000 Hz (about 2.7 Hz bins, 75 % overlap) are located with parabolic interpolation on the log power; each peak gives its deviation from the equal-tempered grid around A4 = 440 Hz (ISO 16:1975) mo
POST
https://ton.halowerk.com/v1/tuning-referenceUptime100% of 4 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/tuning-reference", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"audio_url":"https://ton.halowerk.com/beispiel/tuning-reference-audio.ogg"}),
});
console.log(await res.json());Example input
{
"audio_url": "https://ton.halowerk.com/beispiel/tuning-reference-audio.ogg"
}