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.
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'). |