Sources
Get the beats of an audio or video source
Changed onReturns the tempo, every beat and every bar's first beat (downbeat) of an audio or video source owned by the caller or their workspace, in ms of source time. Each source is analyzed once and cached; the first request can take a few seconds, and answers 503 unavailable if the analysis is still running, so retry.
get/v1/sources/{sourceId}/beats
Request
- Base URLhttps://api.tella.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
sourceIdstring required
Streaming upload source identifier
Example:su_abc123def456
Response
OK
Example response
{
"beatsMs": [
512,
1012,
1512,
2012
],
"beatsPerBar": 4,
"bpm": 120,
"confidence": 0.86,
"downbeatsMs": [
512,
2512
],
"durationMs": 95200,
"trackDurationMs": 180036
}Changes
- info
endpoint added
- info