MIDI tempo fit computes the scale and the integer tempo rounding error when reti...
https://ton.halowerk.com/v1/midi-clock-tempo-fit-durationOverview
MIDI tempo fit computes the scale and the integer tempo rounding error when retiming to a target duration. Use it when an agent needs fitting a fixed score to a production cue.
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:44
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",
"target_seconds": 3.4
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"data": {
"achieved_seconds": 3.400002,
"first_tempo_us": 566667,
"tempo_multiplier": 1.13333333
},
"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.089Z",
"source": {
"reference": "Standard MIDI File supplied by caller; SMF timing calculations",
"retrieved_at": "2026-11-25T21:53:30.089Z"
}
},
"type": "json"
}