Song Structure
song_structureAnalyze a drum staff to outline song sections, played bar counts, recurring grooves, and fills for a structure page, and return suggested rows with musical names.
Instructions
Outline the song for a structure page: the sections (from the rehearsal marks) with how many bars each lasts as played (repeats counted), the grooves in it (bars that recur, named Groove A, B... with the drums they use; hi-hat openings, crashes and ghost notes don't make a new groove) and the fills (bars that don't recur). Each section's count is its length in fours as drummers count it (6 -> '4+2', 12 -> '3x4', bars before the first groove bar counted on their own: '2+4+2'); bars excluded from the bar count (a count-in) are left out. suggested_rows can go to set_song_structure as they are, but give the grooves and fills musical names first (e.g. 'Verse shuffle', 'Tom fill into chorus').
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "song_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staff | No | Staff to analyse (0-based). Defaults to the first drum staff. | |
| tolerance | No | How similar (0-1, share of identical hits) bars must be to share a groove name |