Skip to content

πŸŽ₯ Make videos programmatically with React

cards

Jonny Burger62b3bad15785
diff --git a/packages/docs/docs/contributing/sfx.mdx b/packages/docs/docs/contributing/sfx.mdx
new file mode 100644
index 0000000000..0e445535cf
--- /dev/null
+++ b/packages/docs/docs/contributing/sfx.mdx
@@ -0,0 +1,27 @@
+---
+image: /generated/articles-docs-contributing-sfx.png
+title: Adding a sound effect
+sidebar_label: Adding a sound effect
+crumb: Contributing
+---
+
+We welcome sound effect contributions to the [`@remotion/sfx`](/docs/sfx) package.
+
+## Requirements
+
+Sound effects must be:
+
+- **WAV format**
+- **CC0 (Creative Commons 0) licensed** β€” no attribution required by users
+- **Normalized** so the peak is at **-3dB** (use FFmpeg / coding agent to normalize)
+
+Good sources for CC0 sound effects are [freesound.org](https://freesound.org) and [kenney.nl](https://kenney.nl).
+
+## Adding a sound effect
+
+Use the [`/add-sfx` Claude Code skill](https://github.com/remotion-dev/remotion/blob/main/.claude/skills/add-sfx/SKILL.md) to add a new sound effect. It will guide you through all the necessary steps.
+
+## See also
+
+- [`@remotion/sfx`](/docs/sfx)
+- [General contributing information](/docs/contributing)
diff --git a/packages/docs/docs/sfx/index.mdx b/packages/docs/docs/sfx/index.mdx
index 5313d84d96..bd2923af60 100644
--- a/packages/docs/docs/sfx/index.mdx
+++ b/packages/docs/docs/sfx/index.mdx
@@ -1,5 +1,6 @@
---
image: /generated/articles-docs-sfx-index.png
+crumb: API
title: '@remotion/sfx'
---
diff --git a/packages/docs/sidebars.ts b/packages/docs/sidebars.ts
index 3913008381..334f5d1d8f 100644
--- a/packages/docs/sidebars.ts
+++ b/packages/docs/sidebars.ts
@@ -1444,6 +1444,7 @@ const sidebars: SidebarsConfig = {
'contributing/rust',
'contributing/web-renderer',
'contributing/presentation',
+ 'contributing/sfx',
'authoring-packages',
'contributing/ineligible',
],
diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.ts
index 103e7856af..fbe16894a6 100644
--- a/packages/docs/src/data/articles.ts
+++ b/packages/docs/src/data/articles.ts
@@ -1358,6 +1358,15 @@ export const articles = [
noAi: false,
slug: 'contributing/rust',
},
+ {
+ id: 'contributing/sfx',
+ title: 'Adding a sound effect',
+ relativePath: 'docs/contributing/sfx.mdx',
+ compId: 'articles-docs-contributing-sfx',
+ crumb: 'Contributing',
+ noAi: false,
+ slug: 'contributing/sfx',
+ },
{
id: 'contributing/web-renderer',
title: 'Contributing to client-side rendering',
@@ -5223,6 +5232,78 @@ export const articles = [
noAi: false,
slug: 'series',
},
+ {
+ id: 'sfx/index',
+ title: '@remotion/sfx',
+ relativePath: 'docs/sfx/index.mdx',
+ compId: 'articles-docs-sfx-index',
+ crumb: 'API',
+ noAi: false,
+ slug: 'sfx/index',
+ },
+ {
+ id: 'sfx/mouse-click',
+ title: 'mouseClick',
+ relativePath: 'docs/sfx/mouse-click.mdx',
+ compId: 'articles-docs-sfx-mouse-click',
+ crumb: '@remotion/sfx',
+ noAi: false,
+ slug: 'sfx/mouse-click',
+ },
+ {
+ id: 'sfx/page-turn',
+ title: 'pageTurn',
+ relativePath: 'docs/sfx/page-turn.mdx',
+ compId: 'articles-docs-sfx-page-turn',
+ crumb: '@remotion/sfx',
+ noAi: false,
+ slug: 'sfx/page-turn',
+ },
+ {
+ id: 'sfx/shutter-modern',
+ title: 'shutterModern',
+ relativePath: 'docs/sfx/shutter-modern.mdx',
+ compId: 'articles-docs-sfx-shutter-modern',
+ crumb: '@remotion/sfx',
+ noAi: false,
+ slug: 'sfx/shutter-modern',
+ },
+ {
+ id: 'sfx/shutter-old',
+ title: 'shutterOld',
+ relativePath: 'docs/sfx/shutter-old.mdx',
+ compId: 'articles-docs-sfx-shutter-old',
+ crumb: '@remotion/sfx',
+ noAi: false,
+ slug: 'sfx/shutter-old',
+ },
+ {
+ id: 'sfx/ui-switch',
+ title: 'uiSwitch',
+ relativePath: 'docs/sfx/ui-switch.mdx',
+ compId: 'articles-docs-sfx-ui-switch',
+ crumb: '@remotion/sfx',
+ noAi: false,
+ slug: 'sfx/ui-switch',
+ },
+ {
+ id: 'sfx/whip',
+ title: 'whip',
+ relativePath: 'docs/sfx/whip.mdx',
+ compId: 'articles-docs-sfx-whip',
+ crumb: '@remotion/sfx',
+ noAi: false,
+ slug: 'sfx/whip',
+ },
+ {
+ id: 'sfx/whoosh',
+ title: 'whoosh',
+ relativePath: 'docs/sfx/whoosh.mdx',
+ compId: 'articles-docs-sfx-whoosh',
+ crumb: '@remotion/sfx',
+ noAi: false,
+ slug: 'sfx/whoosh',
+ },
{
id: 'shaders',
title: 'Shaders',
diff --git a/packages/docs/static/generated/articles-docs-contributing-sfx.png b/packages/docs/static/generated/articles-docs-contributing-sfx.png
new file mode 100644
index 0000000000..076d9a235e
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-contributing-sfx.png differ
diff --git a/packages/docs/static/generated/articles-docs-sfx-index.png b/packages/docs/static/generated/articles-docs-sfx-index.png
new file mode 100644
index 0000000000..f88cce4bd1
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-sfx-index.png differ
diff --git a/packages/docs/static/generated/articles-docs-sfx-mouse-click.png b/packages/docs/static/generated/articles-docs-sfx-mouse-click.png
new file mode 100644
index 0000000000..afdb789f9b
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-sfx-mouse-click.png differ
diff --git a/packages/docs/static/generated/articles-docs-sfx-page-turn.png b/packages/docs/static/generated/articles-docs-sfx-page-turn.png
new file mode 100644
index 0000000000..18b8fd602a
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-sfx-page-turn.png differ
diff --git a/packages/docs/static/generated/articles-docs-sfx-shutter-modern.png b/packages/docs/static/generated/articles-docs-sfx-shutter-modern.png
new file mode 100644
index 0000000000..1489066ec6
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-sfx-shutter-modern.png differ
diff --git a/packages/docs/static/generated/articles-docs-sfx-shutter-old.png b/packages/docs/static/generated/articles-docs-sfx-shutter-old.png
new file mode 100644
index 0000000000..47417e4e78
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-sfx-shutter-old.png differ
diff --git a/packages/docs/static/generated/articles-docs-sfx-ui-switch.png b/packages/docs/static/generated/articles-docs-sfx-ui-switch.png
new file mode 100644
index 0000000000..cc094fe818
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-sfx-ui-switch.png differ
diff --git a/packages/docs/static/generated/articles-docs-sfx-whip.png b/packages/docs/static/generated/articles-docs-sfx-whip.png
new file mode 100644
index 0000000000..06bb42d0ac
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-sfx-whip.png differ
diff --git a/packages/docs/static/generated/articles-docs-sfx-whoosh.png b/packages/docs/static/generated/articles-docs-sfx-whoosh.png
new file mode 100644
index 0000000000..d866aac1ed
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-sfx-whoosh.png differ