Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Adds a new CC0 WAV sound effect to @remotion/sfx via the remotion.media repo and index export.
21% 75%+54 ptsof test cases passed
Passed 18 of 24 test cases with the skill, and 5 of 24 without it.
In `@remotion/sfx` (`packages/sfx/src/index.ts`), how should a sound effect like `whoosh.wav` be exported? Show the code line.
Exports constant string pointing to 'https://remotion.media/whoosh.wav'
3 of 3 safety checks passed
Sound effects must first be added to the remotion.media package.
Then it can be deployed using bun run build. The .env may be missing if we are in a worktree, but on the main non-worktree branch it should be present.
The source of truth is generate.ts in that repo. A sound effect must exist there before it can be added to @remotion/sfx.
Sound effects must be:
remotion.media repo (must be done first)In the remotion-dev/remotion.media repo:
soundEffects array in generate.ts:
{
fileName: "my-sound.wav",
attribution:
"Description by Author -- https://source-url -- License: Creative Commons 0",
},
bun generate.ts to copy it to files/ and regenerate variants.jsonpackages/sfx/src/index.tsUse camelCase for the variable name. Avoid JavaScript reserved words (e.g. use uiSwitch not switch).
export const mySound = 'https://remotion.media/my-sound.wav';
packages/docs/docs/sfx/<name>.mdxNext to this one in the catalogue, plus more from the same author.