ae_analyze_audio
Analyze WAV audio for peak envelopes and transient beats or hits, then optionally add markers in After Effects compositions or layers for precise timing.
Instructions
Analyze a WAV file: peak envelope and transient peaks (beats, hits). Pass path, or comp + layer to use the layer's source file (times are then converted to composition time). With addMarkers: true, places a marker at every peak (on that layer, or on the composition when only path is given; one undo step). Only uncompressed PCM/float WAV.
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": "ae_analyze_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name or numeric item id. Omit to use the active composition. | |
| path | No | Absolute path to a .wav file. | |
| layer | No | Layer name or 1-based index. | |
| minGap | No | Minimum seconds between peaks (default 0.1). | |
| points | No | Envelope resolution (default 200, max 5000). | |
| envelope | No | Include the envelope in the answer (default true). | |
| threshold | No | Peak threshold relative to the loudest point, 0..1 (default 0.6). | |
| addMarkers | No | ||
| markerComment | No | Comment for created markers (default 'peak'). |