Align
alignMeasures timing lag between a render and a reference via onset cross-correlation, then updates the project offset to sync them.
Instructions
Timing lag between two sources (onset cross-correlation, optionally in one band e.g. band='sub' for kicks). Use it to line a render up with the reference: project_set(offset_sec = offset_sec + lag).
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": "align"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | render | |
| b | No | ref | |
| band | No | ||
| bars | No | ||
| project | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |