Place SFX on events
ae_place_sfxPlace sound-effect files in an After Effects comp so each file's loudest sample lands exactly on its event time, importing files once, naming SFX layers, and optionally setting gain.
Instructions
Place sound-effect files in a comp so that each file's LOUDEST sample (measured with ffmpeg) lands exactly on its event time (start = at − peak). Imports each file once into an 'SFX' folder, names layers 'SFX ', sets Audio Levels in dB when given (0 = as recorded; leveled library files need no gain). One undo group.
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": {
"comp": "<comp>",
"items": "<items>"
},
"name": "ae_place_sfx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | Yes | ||
| items | Yes | ||
| instance | No | After Effects instance to address for this call, when several are running (AfterFX.exe -m): an instance id (its AE_MCP_INSTANCE at launch, or the `name` given to instance.start) or the name of the project file it has open. Omit to use this server's default (AE_MCP_INSTANCE, else the single live instance). ae_context and ae_do instance.list show what is live. |