jhurliman/allinone-targetbpm

Analyzes music structure (BPM, beats, segments) with optional BPM locking to fix tempo misdetection

Public
151 runs

Run jhurliman/allinone-targetbpm with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
audio
string
Audio file to analyze (WAV, MP3, AIFF, FLAC, OGG, etc.)
target_bpm
number
Target BPM to lock analysis to. If provided, sets bpm_min=target_bpm-1 and bpm_max=target_bpm+1.
bpm_min
number
Minimum BPM constraint for beat tracking. Ignored if target_bpm is set. Default: 55 BPM.
bpm_max
number
Maximum BPM constraint for beat tracking. Ignored if target_bpm is set. Default: 240 BPM.
model
None
harmonix-all
Pretrained model to use. 'harmonix-all' is an ensemble of all 8 folds (recommended).

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output"
}