detect_common_bpm
Determine the most common BPM from a set of audio file paths by parsing their filenames, helping confirm tempo alignment before setting the project BPM.
Instructions
Given a JSON array of file paths, return the most common BPM parsed from their filenames.
Useful after scan_audio_folder when the AI has narrowed down a set
of candidate loops and wants to confirm they agree on tempo before
setting the project BPM.
Args: file_paths: JSON array of absolute paths.
Returns: detected_bpm: the most common value (int), or None if none found. bpm_votes: full distribution of BPMs across the set. confidence: fraction of files that agreed with the winner. hint: a one-line next-step suggestion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_paths | Yes |