← Back to directory

MIDI sample alignment gives the nearest PCM sample frame and signed timing error...

https://ton.halowerk.com/v1/midi-clock-sample-frame

Overview

MIDI sample alignment gives the nearest PCM sample frame and signed timing error at a chosen sample rate. Use it when an agent needs placing a musical event in an audio buffer.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider ton
Source bazaar
Indexed 2026-11-26 04:02:45

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": { "midi": "TVRoZAAAAAYAAAABAeBNVHJrAAAAJgD/UQMHoSAAmSVQh0CJJQAAmSVQh0CJJQAAmSVQh0CJJQAA/y8A", "sample_rate": 48000, "tick": 960 }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "data": { "error_us": 0, "frame": "48000" }, "limitations": "SMF 0/1 with PPQN, up to 45 KB. Track 0 supplies tempo and meter. Note durations exclude controller sustain; overlaps of the same pitch use FIFO per track/channel.", "measured_at": "2026-11-25T21:53:30.071Z", "source": { "reference": "Standard MIDI File supplied by caller; SMF timing calculations", "retrieved_at": "2026-11-25T21:53:30.071Z" } }, "type": "json" }