Analyze Kit
analyze_kitIsolate individual drum parts from a single sound. Split the source into k spectral components to reveal pitch, energy, and hit patterns.
Instructions
Discover the pieces of a drum kit: NMF splits the drum source into k components (each a spectrum + when it
hits), prints each one's pitch region, share of energy and hit pattern per 16th folded over a cycle-bar loop,
and writes each component's audio to /analysis/kit/comp_.wav (use it as a sound_import /
instrument_fit target, never in the render). analyze_drums shows 3 band lanes and hides pieces: on a G-funk
record this found 6 (punch kick apart from the 808, ghost snares). Raise k until new components are only
fragments (< 2% energy, or a copy of another's pattern). Reach for it when a snare, kick or hat sounds dated,
generic or not the genre's: the reference's own pieces, each as a clean target.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>"
},
"name": "analyze_kit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| bars | No | ||
| cycle | No | ||
| source | No | ref:drums | |
| project | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |