Audio info
get_audio_infoRetrieve audio layer details in an After Effects comp: switch state, Audio Levels in dB with keyframes, in/out points, source file, duration, and applied effects. Read-only, for inspecting audio before analysis.
Instructions
List the layers with audio in a comp: audio switch, Audio Levels (dB, keyframes), in/out points, source file and duration, applied effects. Read-only. (ExtendScript cannot read sample rate; use audio_to_keyframes / detect_beats to analyse loudness.)
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": "get_audio_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| layers | No | Only these layers (default: every layer with audio). | |
| withKeys | No | Include Audio Levels keyframes (default true, max 50). |