Analyse a recording
crosspad_analyzeAnalyze a recorded WAV offline with selectable onset, click, silence, multitone, velocity, or PSD checks to verify playback accuracy and diagnose audio issues.
Instructions
Analyze a recorded WAV offline (no hardware) with the check you pick, and return what it measured. The checks are onset (did the hits land, and when; pass the times you played as expected), click (glitches in the render), silence (is this path dead), multitone (does the loopback reproduce the tones), velocity (does loudness track velocity) and psd (spectral content and sidebands). Pair it with crosspad_capture to check that what you played came out.
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": {
"kind": "<kind>",
"wav": "<wav>"
},
"name": "crosspad_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wav | Yes | Path to the WAV, as returned by crosspad_capture stop | |
| kind | Yes | What question to ask of the recording | |
| options | No | Kind-specific thresholds, e.g. {tolerance_ms: 40} | |
| expected | No | onset/velocity: what you played — the schedule (ms) or the velocity list |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | ||
| wav | No | ||
| docs | No | ||
| kind | No | ||
| next | No | ||
| error | No | ||
| notice | No | ||
| success | Yes | ||
| verdict | No |