Detect beats
detect_beatsDetect beats and bars in ready music or video; stores the grid. Returns the beat times, the downbeats (bar starts), the sections (intro, build, drop, breakdown, outro), the drum hits between beats and the fills (quick runs of hits into the next bar). Do this before cutting to music. A sound file of 8 seconds or more was measured when it arrived: its answer also has the big hits (where the music slams in), the drops and the loudness of each second, uses no credits, and with startTime and endTime gives that range of it. For a video's sound or a shorter sound, pass startTime and endTime with the source range the shots you build use: only that range is read, at about 1.1 credits a minute of it, billed by the second, and its beats replace the grid's beats in that range while the grid keeps the rest. Times stay seconds into the asset. null for both reads the whole file. Bind with beats= in film props.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetId | Yes | ||
| endTime | Yes | Source second to stop reading at, or null for the asset's end. null for both reads the whole asset. | |
| projectId | Yes | The project this call runs on without changing the open project. null (or leaving it out) uses the open project. wait_for_jobs takes the projectId of the calls that started the jobs. | |
| startTime | Yes | Source second to start reading at, or null for the asset's start. Pass the range of the shot you build. |