MIDI duration measures the complete sequence through the latest end-of-track eve...
https://ton.halowerk.com/v1/midi-clock-sequence-durationOverview
MIDI duration measures the complete sequence through the latest end-of-track event using its tempo map. Use it when an agent needs timing a sequence including rests.
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"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"data": {
"ppqn": 480,
"seconds": 3,
"ticks": 2880,
"tracks": 1
},
"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.058Z",
"source": {
"reference": "Standard MIDI File supplied by caller; SMF timing calculations",
"retrieved_at": "2026-11-25T21:53:30.058Z"
}
},
"type": "json"
}