Swing rhythm generation returns alternating eighth-note onsets in milliseconds a...
https://ton.halowerk.com/v1/rhythm-swing-onsetsOverview
Swing rhythm generation returns alternating eighth-note onsets in milliseconds at a supplied quarter-note tempo. Use it when an agent needs a deterministic music calculation.
Protocol
x402 (POST)
Price
$0.0050
Payment Asset
USD Coin
Payment Network
Base
Category
uncategorized
Provider
ton
Source
bazaar
Indexed
2026-12-01 21:37:30
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": {
"bpm": 120,
"meter": "4/4",
"snapshot": "music-v1",
"swing": 0.6
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"data": {
"bar_ms": 2000,
"onsets": [
0,
300,
500,
800,
1000,
1300,
1500,
1800
]
},
"limitations": "Twelve-tone equal temperament. C4 is MIDI 60. Generated note numbers and timings only.",
"measured_at": "2026-12-01T11:25:14.705Z",
"source": {
"reference": "https://ton.halowerk.com/v1/rhythm-swing-onsets/schema",
"retrieved_at": "2026-12-01T11:25:14.705Z"
}
},
"type": "json"
}