add-sound-effect
Installation
SKILL.md
Add Sound Effect
Add a new sound effect WAV file to the remotion-media project.
Required information
Ask the user for:
- Output filename (e.g.
bruh.wav) - Source file path (e.g.
/Users/jonathanburger/Downloads/source.mp3) - Attribution source URL
Steps
-
Detect peak volume of the source file:
ffmpeg -i <source> -af "volumedetect" -f null - 2>&1 | grep max_volume -
Calculate gain adjustment: target is -3dB peak. If current max is X dB, apply
(-3 - X)dB gain.