Audio features
audio_featuresMeasures energy, danceability, loudness, key, mode, and tatum for a song and each section, using an existing analysis ID or local audio file for music analysis.
Instructions
Measure energy, danceability, loudness, mode, key and tatum, for the song and each section.
Give the analysis_id from segment: nothing is uploaded and it is included in that analysis's
run. A file_path runs segment first (one run). Needs no stems, so it can run straight after
segment. Energy and danceability run 0-1: energy reflects loudness, rhythmic activity and
low end; danceability, how strong and regular the beat is. Both are measured per section,
so a drop reads higher than its breakdown. Loudness is in LUFS. The values are in
metadata (song, sections) and saved to the results folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | Full path to a local audio file (.wav, .mp3, .aif, .aiff, .flac, .m4a, .ogg, .aac). ~ is expanded. For a track that has not been analysed yet: segment runs on it first (one run). Give this or analysis_id. | |
| analysis_id | No | The analysis_id a segment result returned (in its metadata and summary). Reuses that analysis: nothing is uploaded and it does not count as another run. Give this or file_path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| files | Yes | ||
| summary | Yes | ||
| metadata | Yes | ||
| output_dir | Yes | ||
| execution_id | Yes |