Music
Delay and reverb time from BPM API
Computes the tempo-synced delay/reverb pre-delay time in ms (and Hz) for a chosen note value, plus dotted and triplet variants and the bar duration — to lock time-based FX to the groove. Answers 'What delay time syncs an eighth note at 120 BPM?', 'Dotted delay ms for this tempo?'.
Price$0.04per request
MethodPOST
Route/v1/music/delay-time
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
musicdelayreverbbpmtempo-syncfxmillisecondsproductionaudio
API URL
Integration docshttps://x402.hexl.dev/v1/music/delay-timeExample request
{
"bpm": 120,
"noteValue": "eighth"
}Example response
{
"bpm": 120,
"noteValue": "eighth",
"delayMs": 250,
"dottedDelayMs": 375,
"tripletDelayMs": 166.6667,
"delayHz": 4,
"barDurationMs": 2000,
"beatsPerBar": 4,
"note": "delay/reverb pre-delay set to this ms locks the FX to the groove"
}Input schema
{
"type": "object",
"required": [
"bpm"
],
"properties": {
"bpm": {
"type": "number",
"examples": [
120
]
},
"noteValue": {
"type": "string",
"examples": [
"quarter",
"eighth",
"1/16"
]
},
"beatsPerBar": {
"type": "number",
"examples": [
4
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}