Convert audio to keyframes
audio_to_keyframesConverts an audio layer into an Audio Amplitude null, keying Left, Right, and Both Channels every frame so animations can be linked to sound.
Instructions
Run Animation > Keyframe Assistant > Convert Audio to Keyframes for one audio layer: opens the comp in the viewer, selects only that layer and creates an 'Audio Amplitude' null with Left/Right/Both Channels sliders keyed every frame. Returns the new layer, slider property paths and an expression to link to. The work area is temporarily set to the layer's span unless fullLayer=false.
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": {
"layer": "<layer>"
},
"name": "audio_to_keyframes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| name | No | Rename the created amplitude layer. | |
| layer | Yes | Layer with audio. | |
| fullLayer | No | Analyse the whole layer (default true) instead of the current work area. |