← Back to directory

Measure the tuning reference of a music recording: estimated A4 in Hz, deviation...

https://ton.halowerk.com/v1/tuning-reference

Overview

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) modulo one semitone.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider ton
Source bazaar
Indexed 2026-11-21 08:10:21

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "audio_url": "https://ton.halowerk.com/beispiel/tuning-reference-audio.ogg" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "The estimate is only defined modulo one semitone: music tuned to A4 = 415.3 Hz looks like A4 = 440 Hz played a semitone lower.", "Assumes 12-tone equal temperament; historical temperaments, just intonation or strong vibrato widen the spread.", "Inharmonic instruments (piano stretch tuning, bells) bias the estimate slightly." ], "result": { "a4_hz": 446.04, "confidence": { "circular_concentration": 0.956, "peaks_total": 1062, "peaks_used": 850, "share_of_peaks_within_10_cents": 0.956 }, "deviation_cents": 23.6, "drift_cents": null, "nearest_integer_hz": 446, "over_time": [], "reference": "A4 = 440 Hz (ISO 16:1975), 12-tone equal temperament; result modulo one semitone", "source": { "analysed_s": 8, "analysis_rate_hz": 22050, "bytes": 66262, "channels": 1, "codec": "opus", "container": "ogg", "duration_s": 8.007, "sample_rate": 48000, "sha256": "2fc0f0006bfa7d5d6df92c114c5609165d2e956821c499d54474ca4d1d88e717" } }, "service": "tuning-reference", "status": "success" }, "type": "json" }