pencil2d_add_audio
Attach a WAV or MP3 sound clip to a sound layer at a chosen keyframe, so you can sync audio with animation timing.
Instructions
Attach a sound clip (WAV/MP3) to a sound layer at a specific keyframe in the animation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | Keyframe number where audio starts playing (default 1). | |
| audio_path | Yes | Path to audio file (.wav, .mp3) to embed. | |
| layer_name | No | Sound layer name (default 'Sound Layer'). | |
| project_path | Yes | Path to the .pclx file. |