{"uid":"cap_t-n9K2AglhCCINSEz92_s","slug":"music-theory-tempo-calculator-f7fd0089","name":"Music Theory Tempo Calculator","description":"BPM to milliseconds for note values, dotted and triplet delay times; or average tap intervals into a steady BPM.","url":"https://music-theory.x402tookit.com/tempo?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"bpm":{"type":"number","description":"Tempo in beats per minute, 20 to 400 (quarter note = one beat)"},"taps":{"type":"string","description":"Tap intervals in milliseconds, comma separated: 500,512,497,505 (use instead of bpm)"},"beatsPerBar":{"type":"integer","description":"Beats per bar for the bar length, 1 to 16 (default 4)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"bpm":{"type":["null","number"]},"asOf":{"type":["null","string"]},"barMs":{"type":["null","number"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"delayTimes":{"type":["null","object"],"properties":{"note":{"type":["null","string"]},"eighth":{"type":["null","number"]},"quarter":{"type":["null","number"]},"sixteenth":{"type":["null","number"]},"dottedEighth":{"type":["null","number"]},"eighthTriplet":{"type":["null","number"]}}},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"noteValues":{"type":["array","null"],"items":{"type":"object","properties":{"note":{"type":["null","string"]},"beats":{"type":["null","number"]},"dottedMs":{"type":["null","number"]},"tripletMs":{"type":["null","number"]},"straightHz":{"type":["null","number"]},"straightMs":{"type":["null","number"]}}}},"beatsPerBar":{"type":["null","number"]},"quarterNoteMs":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mwBL_bxBW9XhidO8cjNqR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a BPM tempo into delay times and note durations in milliseconds, or averages tap intervals into a steady BPM value.","exampleAgentPrompt":"What are the delay times in milliseconds for all note values — including dotted and triplet — at 120 BPM with 4 beats per bar?","exampleUseCases":[{"title":"Delay pedal setup for live performance","prompt":"I'm playing live at 98 BPM and need to know the dotted eighth, quarter, and eighth note delay times in milliseconds so I can dial in my delay pedal."},{"title":"Tap tempo to BPM for a recording session","prompt":"I just tapped my tempo and the intervals were 502, 498, 505, 500 milliseconds — what BPM is that and what are the note duration timings?"},{"title":"Calculate bar length for a DAW project","prompt":"My track is at 140 BPM with 4 beats per bar — what is the bar length in milliseconds and what are all the note values in ms including triplets?"}],"resultDescription":"Returns the BPM (either as provided or averaged from taps), quarter note duration in ms, bar length in ms, and a full table of note values (whole, half, quarter, eighth, sixteenth, etc.) each with straight, dotted, and triplet millisecond durations, plus common delay time shortcuts (quarter, eighth, sixteenth, dotted eighth, eighth triplet). Also includes a summary string and any degraded-mode warnings.","failureModes":["BPM out of range (must be 20–400) returns validation error","Fewer than two tap intervals provided returns insufficient data error","Non-numeric or malformed tap interval string returns parse error","beatsPerBar outside 1–16 range returns validation error"],"whenToPreferThis":"Use this endpoint when you need precise millisecond timings for delay effects, DAW grid alignment, or rhythmic synchronization derived from a BPM value, or when you need to convert tap-tempo intervals into a stable BPM. It is the right choice over general music knowledge when you need computed numeric output ready to plug into audio hardware or software.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:13:41.250Z","isFirstParty":false,"canonicalSlug":"music-theory-tempo-calculator-f7fd0089"}