Skip to content

🎥 Make videos programmatically with React

`@remotion/sfx`: Rename coreSoundEffect to triggered

JonnyBurgerfeedda24c1c4
diff --git a/packages/docs/docs/sfx/table-of-contents.tsx b/packages/docs/docs/sfx/table-of-contents.tsx
index d329fe0119..0025d7511b 100644
--- a/packages/docs/docs/sfx/table-of-contents.tsx
+++ b/packages/docs/docs/sfx/table-of-contents.tsx
@@ -56,7 +56,7 @@ export const TableOfContents: React.FC = () => {
<SfxItem link="/docs/sfx/oh-my-god-vine" src="https://remotion.media/oh-my-god-vine.wav" name="ohMyGodVine" description="Oh my god vine sound effect" />
<SfxItem link="/docs/sfx/illuminati-confirmed" src="https://remotion.media/illuminati-confirmed.wav" name="illuminatiConfirmed" description="Illuminati confirmed sound effect" />
<SfxItem link="/docs/sfx/dramatic-boomer" src="https://remotion.media/dramatic-boomer.wav" name="dramaticBoomer" description="Dramatic boomer sound effect" />
- <SfxItem link="/docs/sfx/core-sound-effect" src="https://remotion.media/core-sound-effect.wav" name="coreSoundEffect" description="Core sound effect" />
+ <SfxItem link="/docs/sfx/triggered" src="https://remotion.media/triggered.wav" name="triggered" description="Triggered meme sound effect" />
</Grid>
</div>
);
diff --git a/packages/docs/docs/sfx/core-sound-effect.mdx b/packages/docs/docs/sfx/triggered.mdx
similarity index 60%
rename from packages/docs/docs/sfx/core-sound-effect.mdx
rename to packages/docs/docs/sfx/triggered.mdx
index 64d5a66ef5..e0770ba435 100644
--- a/packages/docs/docs/sfx/core-sound-effect.mdx
+++ b/packages/docs/docs/sfx/triggered.mdx
@@ -1,38 +1,38 @@
---
-image: /generated/articles-docs-sfx-core-sound-effect.png
-title: 'coreSoundEffect'
+image: /generated/articles-docs-sfx-triggered.png
+title: 'triggered'
crumb: '@remotion/sfx'
---
-# coreSoundEffect<AvailableFrom v="4.0.464" />
+# triggered<AvailableFrom v="4.0.464" />
import {PlayButton} from './PlayButton';
-<PlayButton src="https://remotion.media/core-sound-effect.wav" />
+<PlayButton src="https://remotion.media/triggered.wav" />
<br />
-A URL pointing to a Core WAV file.
+A URL pointing to a triggered meme sound effect WAV file.
## Example
```tsx twoslash title="MyComp.tsx"
-import {coreSoundEffect} from '@remotion/sfx';
+import {triggered} from '@remotion/sfx';
import {Audio} from '@remotion/media';
const MyVideo = () => {
- return <Audio src={coreSoundEffect} />;
+ return <Audio src={triggered} />;
};
```
## Value
```bash
-https://remotion.media/core-sound-effect.wav
+https://remotion.media/triggered.wav
```
## Duration
-0.696599 seconds (2 ch, 44100 Hz, Int16, interleaved)
+0.696599 seconds (2 channels, 44100 Hz, 16-bit)
## Attribution
diff --git a/packages/docs/sidebars.ts b/packages/docs/sidebars.ts
index 919d289afd..2db51c9cc4 100644
--- a/packages/docs/sidebars.ts
+++ b/packages/docs/sidebars.ts
@@ -520,7 +520,7 @@ const sidebars: SidebarsConfig = {
'sfx/oh-my-god-vine',
'sfx/illuminati-confirmed',
'sfx/dramatic-boomer',
- 'sfx/core-sound-effect',
+ 'sfx/triggered',
],
},
{
diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.ts
index cd2c2b412f..16e066a47b 100644
--- a/packages/docs/src/data/articles.ts
+++ b/packages/docs/src/data/articles.ts
@@ -5340,15 +5340,6 @@ export const articles = [
noAi: false,
slug: 'sfx/bruh',
},
- {
- id: 'sfx/core-sound-effect',
- title: 'coreSoundEffect',
- relativePath: 'docs/sfx/core-sound-effect.mdx',
- compId: 'articles-docs-sfx-core-sound-effect',
- crumb: '@remotion/sfx',
- noAi: false,
- slug: 'sfx/core-sound-effect',
- },
{
id: 'sfx/ding',
title: 'ding',
@@ -5538,6 +5529,15 @@ export const articles = [
noAi: false,
slug: 'sfx/spongebob-fail',
},
+ {
+ id: 'sfx/triggered',
+ title: 'triggered',
+ relativePath: 'docs/sfx/triggered.mdx',
+ compId: 'articles-docs-sfx-triggered',
+ crumb: '@remotion/sfx',
+ noAi: false,
+ slug: 'sfx/triggered',
+ },
{
id: 'sfx/ui-switch',
title: 'uiSwitch',
diff --git a/packages/docs/static/generated/articles-docs-sfx-core-sound-effect.png b/packages/docs/static/generated/articles-docs-sfx-core-sound-effect.png
deleted file mode 100644
index 469e81437e..0000000000
Binary files a/packages/docs/static/generated/articles-docs-sfx-core-sound-effect.png and /dev/null differ
diff --git a/packages/docs/static/generated/articles-docs-sfx-triggered.png b/packages/docs/static/generated/articles-docs-sfx-triggered.png
new file mode 100644
index 0000000000..ebe4791cd0
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-sfx-triggered.png differ
diff --git a/packages/remotion-media/generate.ts b/packages/remotion-media/generate.ts
index 1090861320..8f29b2f9ed 100644
--- a/packages/remotion-media/generate.ts
+++ b/packages/remotion-media/generate.ts
@@ -720,8 +720,9 @@ const soundEffects = [
attribution: 'Dramatic boomer -- https://www.myinstants.com/en/instant/dramatic-boomer-29428/',
},
{
- fileName: 'core-sound-effect.wav',
- attribution: 'Core -- https://www.myinstants.com/en/instant/core-sound-effect-57998/',
+ fileName: 'triggered.wav',
+ attribution:
+ 'Triggered -- https://www.myinstants.com/en/instant/core-sound-effect-57998/',
},
];
diff --git a/packages/remotion-media/core-sound-effect.wav b/packages/remotion-media/triggered.wav
similarity index 100%
rename from packages/remotion-media/core-sound-effect.wav
rename to packages/remotion-media/triggered.wav
diff --git a/packages/remotion-media/variants.json b/packages/remotion-media/variants.json
index fd5bb94d9b..8f58c33598 100644
--- a/packages/remotion-media/variants.json
+++ b/packages/remotion-media/variants.json
@@ -1327,10 +1327,10 @@
"audioCodec": "pcm",
"container": "wav",
"fileNames": [
- "core-sound-effect.wav"
+ "triggered.wav"
],
"size": 122958,
"category": "sound-effects",
- "attribution": "Core -- https://www.myinstants.com/en/instant/core-sound-effect-57998/"
+ "attribution": "Triggered -- https://www.myinstants.com/en/instant/core-sound-effect-57998/"
}
]
diff --git a/packages/sfx/src/index.ts b/packages/sfx/src/index.ts
index 8a16886617..296a4cfb68 100644
--- a/packages/sfx/src/index.ts
+++ b/packages/sfx/src/index.ts
@@ -40,5 +40,4 @@ export const illuminatiConfirmed =
'https://remotion.media/illuminati-confirmed.wav' as const;
export const dramaticBoomer =
'https://remotion.media/dramatic-boomer.wav' as const;
-export const coreSoundEffect =
- 'https://remotion.media/core-sound-effect.wav' as const;
+export const triggered = 'https://remotion.media/triggered.wav' as const;
diff --git a/packages/skills/skills/remotion/rules/sfx.md b/packages/skills/skills/remotion/rules/sfx.md
index 19384291c8..57f571203b 100644
--- a/packages/skills/skills/remotion/rules/sfx.md
+++ b/packages/skills/skills/remotion/rules/sfx.md
@@ -47,6 +47,6 @@ The following sound effects are available:
- `https://remotion.media/oh-my-god-vine.wav`
- `https://remotion.media/illuminati-confirmed.wav`
- `https://remotion.media/dramatic-boomer.wav`
-- `https://remotion.media/core-sound-effect.wav`
+- `https://remotion.media/triggered.wav`
For more sound effects, search the internet. A good resource is https://github.com/kapishdima/soundcn/tree/main/assets.
diff --git a/scripts/sfx-final-names.ts b/scripts/sfx-final-names.ts
index f30fd2efdc..3cb59055da 100644
--- a/scripts/sfx-final-names.ts
+++ b/scripts/sfx-final-names.ts
@@ -155,12 +155,12 @@ export const SFX_FINAL: SfxFinal[] = [
description: 'Dramatic boomer sound effect',
},
{
- slug: 'core-sound-effect',
- fileName: 'core-sound-effect.wav',
- exportName: 'coreSoundEffect',
- oldFileName: 'core-trigger.wav',
+ slug: 'triggered',
+ fileName: 'triggered.wav',
+ exportName: 'triggered',
+ oldFileName: 'core-sound-effect.wav',
pageUrl: 'https://www.myinstants.com/en/instant/core-sound-effect-57998/',
- description: 'Core sound effect',
+ description: 'Triggered meme sound effect',
},
];