Skip to content

🎥 Make videos programmatically with React

`@remotion/sfx`: Add `recordScratch` sound effect

Jonny Burger724287678bdc
diff --git a/packages/docs/docs/sfx/record-scratch.mdx b/packages/docs/docs/sfx/record-scratch.mdx
new file mode 100644
index 0000000000..b75e79eca5
--- /dev/null
+++ b/packages/docs/docs/sfx/record-scratch.mdx
@@ -0,0 +1,47 @@
+---
+image: /generated/articles-docs-sfx-record-scratch.png
+title: 'recordScratch'
+crumb: '@remotion/sfx'
+---
+
+# recordScratch<AvailableFrom v="4.0.465" />
+
+import {PlayButton} from './PlayButton';
+
+<PlayButton src="https://remotion.media/record-scratch.wav" />
+<br />
+
+A URL pointing to a record scratch sound effect WAV file.
+
+## Example
+
+```tsx twoslash title="MyComp.tsx"
+import {recordScratch} from '@remotion/sfx';
+import {Audio} from '@remotion/media';
+
+const MyVideo = () => {
+ return <Audio src={recordScratch} />;
+};
+```
+
+## Value
+
+```bash
+https://remotion.media/record-scratch.wav
+```
+
+## Duration
+
+1.262404 seconds (2 channels, 44100 Hz, 16-bit)
+
+## Attribution
+
+Taken from https://www.myinstants.com/en/instant/record-scratch-sound-effect/.
+This sound is not explicitly released under a free license, but it is probably fine to use given its widespread use.
+Remotion will not take any responsibility for your use of this sound.
+
+## See also
+
+- [`bruh`](/docs/sfx/bruh)
+- [`vineBoom`](/docs/sfx/vine-boom)
+- [`windowsXpError`](/docs/sfx/windows-xp-error)
diff --git a/packages/docs/docs/sfx/table-of-contents.tsx b/packages/docs/docs/sfx/table-of-contents.tsx
index 0025d7511b..3b2c8d7405 100644
--- a/packages/docs/docs/sfx/table-of-contents.tsx
+++ b/packages/docs/docs/sfx/table-of-contents.tsx
@@ -11,7 +11,14 @@ const SfxItem: React.FC<{
}> = ({link, src, name, description}) => {
return (
<TOCItem link={link}>
- <div style={{display: 'flex', flexDirection: 'row', alignItems: 'center', gap: 12}}>
+ <div
+ style={{
+ display: 'flex',
+ flexDirection: 'row',
+ alignItems: 'center',
+ gap: 12,
+ }}
+ >
<PlayButton src={src} size={32} depth={0.5} />
<div>
<strong>{name}</strong>
@@ -26,37 +33,198 @@ export const TableOfContents: React.FC = () => {
return (
<div>
<Grid>
- <SfxItem link="/docs/sfx/whip" src="https://remotion.media/whip.wav" name="whip" description="Whip sound effect" />
- <SfxItem link="/docs/sfx/whoosh" src="https://remotion.media/whoosh.wav" name="whoosh" description="Whoosh sound effect" />
- <SfxItem link="/docs/sfx/page-turn" src="https://remotion.media/page-turn.wav" name="pageTurn" description="Page turn sound effect" />
- <SfxItem link="/docs/sfx/ui-switch" src="https://remotion.media/switch.wav" name="uiSwitch" description="UI switch sound effect" />
- <SfxItem link="/docs/sfx/mouse-click" src="https://remotion.media/mouse-click.wav" name="mouseClick" description="Mouse click sound effect" />
- <SfxItem link="/docs/sfx/shutter-modern" src="https://remotion.media/shutter-modern.wav" name="shutterModern" description="Modern camera shutter sound effect" />
- <SfxItem link="/docs/sfx/shutter-old" src="https://remotion.media/shutter-old.wav" name="shutterOld" description="Vintage camera shutter sound effect" />
- <SfxItem link="/docs/sfx/ding" src="https://remotion.media/ding.wav" name="ding" description="Ding notification sound effect" />
- <SfxItem link="/docs/sfx/bruh" src="https://remotion.media/bruh.wav" name="bruh" description="Bruh sound effect" />
- <SfxItem link="/docs/sfx/vine-boom" src="https://remotion.media/vine-boom.wav" name="vineBoom" description="Vine boom sound effect" />
- <SfxItem link="/docs/sfx/windows-xp-error" src="https://remotion.media/windows-xp-error.wav" name="windowsXpError" description="Windows XP error sound effect" />
- <SfxItem link="/docs/sfx/fah" src="https://remotion.media/fah.wav" name="fah" description="Fah meme sound effect" />
- <SfxItem link="/docs/sfx/spongebob-fail" src="https://remotion.media/spongebob-fail.wav" name="spongebobFail" description="SpongeBob fail sound effect" />
- <SfxItem link="/docs/sfx/omg-hell-nah" src="https://remotion.media/omg-hell-nah.wav" name="omgHellNah" description="Oh my god bro hell nah sound effect" />
- <SfxItem link="/docs/sfx/price-is-right-fail" src="https://remotion.media/price-is-right-fail.wav" name="priceIsRightFail" description="Price Is Right fail horn sound effect" />
- <SfxItem link="/docs/sfx/romance-meme" src="https://remotion.media/romance-meme.wav" name="romanceMeme" description="Romance meme sound effect" />
- <SfxItem link="/docs/sfx/bone-crack" src="https://remotion.media/bone-crack.wav" name="boneCrack" description="Bone crack sound effect" />
- <SfxItem link="/docs/sfx/anime-wow" src="https://remotion.media/anime-wow.wav" name="animeWow" description="Anime wow sound effect" />
- <SfxItem link="/docs/sfx/yippee" src="https://remotion.media/yippee.wav" name="yippee" description="Yippee sound effect" />
- <SfxItem link="/docs/sfx/loading-lag" src="https://remotion.media/loading-lag.wav" name="loadingLag" description="Loading lag sound effect" />
- <SfxItem link="/docs/sfx/wilhelm-scream" src="https://remotion.media/wilhelm-scream.wav" name="wilhelmScream" description="Wilhelm scream sound effect" />
- <SfxItem link="/docs/sfx/mac-quack" src="https://remotion.media/mac-quack.wav" name="macQuack" description="Mac quack sound effect" />
- <SfxItem link="/docs/sfx/skedaddle" src="https://remotion.media/skedaddle.wav" name="skedaddle" description="Skedaddle sound effect" />
- <SfxItem link="/docs/sfx/snapchat-notification" src="https://remotion.media/snapchat-notification.wav" name="snapchatNotification" description="Snapchat notification sound effect" />
- <SfxItem link="/docs/sfx/nelly-ahh" src="https://remotion.media/nelly-ahh.wav" name="nellyAhh" description="Nelly ahh sound effect" />
- <SfxItem link="/docs/sfx/sanctuary-guardian-what" src="https://remotion.media/sanctuary-guardian-what.wav" name="sanctuaryGuardianWhat" description="Sanctuary Guardian what meme sound effect" />
- <SfxItem link="/docs/sfx/minecraft-hurt" src="https://remotion.media/minecraft-hurt.wav" name="minecraftHurt" description="Minecraft hurt sound effect" />
- <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/triggered" src="https://remotion.media/triggered.wav" name="triggered" description="Triggered meme sound effect" />
+ <SfxItem
+ link="/docs/sfx/whip"
+ src="https://remotion.media/whip.wav"
+ name="whip"
+ description="Whip sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/whoosh"
+ src="https://remotion.media/whoosh.wav"
+ name="whoosh"
+ description="Whoosh sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/page-turn"
+ src="https://remotion.media/page-turn.wav"
+ name="pageTurn"
+ description="Page turn sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/ui-switch"
+ src="https://remotion.media/switch.wav"
+ name="uiSwitch"
+ description="UI switch sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/mouse-click"
+ src="https://remotion.media/mouse-click.wav"
+ name="mouseClick"
+ description="Mouse click sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/shutter-modern"
+ src="https://remotion.media/shutter-modern.wav"
+ name="shutterModern"
+ description="Modern camera shutter sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/shutter-old"
+ src="https://remotion.media/shutter-old.wav"
+ name="shutterOld"
+ description="Vintage camera shutter sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/ding"
+ src="https://remotion.media/ding.wav"
+ name="ding"
+ description="Ding notification sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/bruh"
+ src="https://remotion.media/bruh.wav"
+ name="bruh"
+ description="Bruh sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/vine-boom"
+ src="https://remotion.media/vine-boom.wav"
+ name="vineBoom"
+ description="Vine boom sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/windows-xp-error"
+ src="https://remotion.media/windows-xp-error.wav"
+ name="windowsXpError"
+ description="Windows XP error sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/fah"
+ src="https://remotion.media/fah.wav"
+ name="fah"
+ description="Fah meme sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/spongebob-fail"
+ src="https://remotion.media/spongebob-fail.wav"
+ name="spongebobFail"
+ description="SpongeBob fail sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/omg-hell-nah"
+ src="https://remotion.media/omg-hell-nah.wav"
+ name="omgHellNah"
+ description="Oh my god bro hell nah sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/price-is-right-fail"
+ src="https://remotion.media/price-is-right-fail.wav"
+ name="priceIsRightFail"
+ description="Price Is Right fail horn sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/romance-meme"
+ src="https://remotion.media/romance-meme.wav"
+ name="romanceMeme"
+ description="Romance meme sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/bone-crack"
+ src="https://remotion.media/bone-crack.wav"
+ name="boneCrack"
+ description="Bone crack sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/anime-wow"
+ src="https://remotion.media/anime-wow.wav"
+ name="animeWow"
+ description="Anime wow sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/yippee"
+ src="https://remotion.media/yippee.wav"
+ name="yippee"
+ description="Yippee sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/loading-lag"
+ src="https://remotion.media/loading-lag.wav"
+ name="loadingLag"
+ description="Loading lag sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/wilhelm-scream"
+ src="https://remotion.media/wilhelm-scream.wav"
+ name="wilhelmScream"
+ description="Wilhelm scream sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/mac-quack"
+ src="https://remotion.media/mac-quack.wav"
+ name="macQuack"
+ description="Mac quack sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/skedaddle"
+ src="https://remotion.media/skedaddle.wav"
+ name="skedaddle"
+ description="Skedaddle sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/snapchat-notification"
+ src="https://remotion.media/snapchat-notification.wav"
+ name="snapchatNotification"
+ description="Snapchat notification sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/nelly-ahh"
+ src="https://remotion.media/nelly-ahh.wav"
+ name="nellyAhh"
+ description="Nelly ahh sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/sanctuary-guardian-what"
+ src="https://remotion.media/sanctuary-guardian-what.wav"
+ name="sanctuaryGuardianWhat"
+ description="Sanctuary Guardian what meme sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/minecraft-hurt"
+ src="https://remotion.media/minecraft-hurt.wav"
+ name="minecraftHurt"
+ description="Minecraft hurt sound effect"
+ />
+ <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/triggered"
+ src="https://remotion.media/triggered.wav"
+ name="triggered"
+ description="Triggered meme sound effect"
+ />
+ <SfxItem
+ link="/docs/sfx/record-scratch"
+ src="https://remotion.media/record-scratch.wav"
+ name="recordScratch"
+ description="Record scratch sound effect"
+ />
</Grid>
</div>
);
diff --git a/packages/docs/sidebars.ts b/packages/docs/sidebars.ts
index c5c4cb2e0a..a50fcd741b 100644
--- a/packages/docs/sidebars.ts
+++ b/packages/docs/sidebars.ts
@@ -529,6 +529,7 @@ const sidebars: SidebarsConfig = {
'sfx/illuminati-confirmed',
'sfx/dramatic-boomer',
'sfx/triggered',
+ 'sfx/record-scratch',
],
},
{
diff --git a/packages/remotion-media/generate.ts b/packages/remotion-media/generate.ts
index 8f29b2f9ed..55ecb6d3e2 100644
--- a/packages/remotion-media/generate.ts
+++ b/packages/remotion-media/generate.ts
@@ -1,6 +1,6 @@
-import {$} from 'bun';
import {copyFileSync, existsSync, mkdirSync} from 'fs';
import path from 'path';
+import {$} from 'bun';
const audioCodecs = [
'aac',
@@ -645,85 +645,109 @@ const soundEffects = [
{
fileName: 'fah.wav',
- attribution: 'Fah meme -- https://www.myinstants.com/en/instant/fahhhhhhhhhhhhhh-3525/',
+ attribution:
+ 'Fah meme -- https://www.myinstants.com/en/instant/fahhhhhhhhhhhhhh-3525/',
},
{
fileName: 'spongebob-fail.wav',
- attribution: 'SpongeBob fail -- https://www.myinstants.com/en/instant/spongebob-fail-11236/',
+ attribution:
+ 'SpongeBob fail -- https://www.myinstants.com/en/instant/spongebob-fail-11236/',
},
{
fileName: 'omg-hell-nah.wav',
- attribution: 'Oh my god bro hell nah -- https://www.myinstants.com/en/instant/oh-my-god-bro-oh-hell-nah-man-42939/',
+ attribution:
+ 'Oh my god bro hell nah -- https://www.myinstants.com/en/instant/oh-my-god-bro-oh-hell-nah-man-42939/',
},
{
fileName: 'price-is-right-fail.wav',
- attribution: 'Price Is Right fail horn -- https://www.myinstants.com/en/instant/fail-horn/',
+ attribution:
+ 'Price Is Right fail horn -- https://www.myinstants.com/en/instant/fail-horn/',
},
{
fileName: 'romance-meme.wav',
- attribution: 'Romance meme -- https://www.myinstants.com/en/instant/romanceeeeeeeeeeeeee-29042/',
+ attribution:
+ 'Romance meme -- https://www.myinstants.com/en/instant/romanceeeeeeeeeeeeee-29042/',
},
{
fileName: 'bone-crack.wav',
- attribution: 'Bone crack -- https://www.myinstants.com/en/instant/bone-crack-23901/',
+ attribution:
+ 'Bone crack -- https://www.myinstants.com/en/instant/bone-crack-23901/',
},
{
fileName: 'anime-wow.wav',
- attribution: 'Anime wow -- https://www.myinstants.com/en/instant/anime-wow/',
+ attribution:
+ 'Anime wow -- https://www.myinstants.com/en/instant/anime-wow/',
},
{
fileName: 'yippee.wav',
- attribution: 'Yippee -- https://www.myinstants.com/en/instant/yippeeeeeeeeeeeeee-34261/',
+ attribution:
+ 'Yippee -- https://www.myinstants.com/en/instant/yippeeeeeeeeeeeeee-34261/',
},
{
fileName: 'loading-lag.wav',
- attribution: 'Loading lag -- https://www.myinstants.com/en/instant/lagging-loading-11339/',
+ attribution:
+ 'Loading lag -- https://www.myinstants.com/en/instant/lagging-loading-11339/',
},
{
fileName: 'wilhelm-scream.wav',
- attribution: 'Wilhelm scream -- https://www.myinstants.com/en/instant/man-screaming-aaaah-32768/',
+ attribution:
+ 'Wilhelm scream -- https://www.myinstants.com/en/instant/man-screaming-aaaah-32768/',
},
{
fileName: 'mac-quack.wav',
- attribution: 'Mac quack -- https://www.myinstants.com/en/instant/mac-quack-83896/',
+ attribution:
+ 'Mac quack -- https://www.myinstants.com/en/instant/mac-quack-83896/',
},
{
fileName: 'skedaddle.wav',
- attribution: 'Skedaddle -- https://www.myinstants.com/en/instant/skedaddle-78470/',
+ attribution:
+ 'Skedaddle -- https://www.myinstants.com/en/instant/skedaddle-78470/',
},
{
fileName: 'snapchat-notification.wav',
- attribution: 'Snapchat notification -- https://www.myinstants.com/en/instant/notification-snap-43481/',
+ attribution:
+ 'Snapchat notification -- https://www.myinstants.com/en/instant/notification-snap-43481/',
},
{
fileName: 'nelly-ahh.wav',
- attribution: 'Nelly ahh -- https://www.myinstants.com/en/instant/nelly-ahh-89172/',
+ attribution:
+ 'Nelly ahh -- https://www.myinstants.com/en/instant/nelly-ahh-89172/',
},
{
fileName: 'sanctuary-guardian-what.wav',
- attribution: 'Sanctuary Guardian what meme -- https://www.myinstants.com/en/instant/what-bottom-text-meme-sanctuary-guardian-s-24591/',
+ attribution:
+ 'Sanctuary Guardian what meme -- https://www.myinstants.com/en/instant/what-bottom-text-meme-sanctuary-guardian-s-24591/',
},
{
fileName: 'minecraft-hurt.wav',
- attribution: 'Minecraft hurt -- https://www.myinstants.com/en/instant/minecraft-hurt/',
+ attribution:
+ 'Minecraft hurt -- https://www.myinstants.com/en/instant/minecraft-hurt/',
},
{
fileName: 'oh-my-god-vine.wav',
- attribution: 'Oh my god vine -- https://www.myinstants.com/en/instant/oh-ma-gaud-vine-78004/',
+ attribution:
+ 'Oh my god vine -- https://www.myinstants.com/en/instant/oh-ma-gaud-vine-78004/',
},
{
fileName: 'illuminati-confirmed.wav',
- attribution: 'Illuminati confirmed -- https://www.myinstants.com/en/instant/illuminati-confirmed-meme-99730/',
+ attribution:
+ 'Illuminati confirmed -- https://www.myinstants.com/en/instant/illuminati-confirmed-meme-99730/',
},
{
fileName: 'dramatic-boomer.wav',
- attribution: 'Dramatic boomer -- https://www.myinstants.com/en/instant/dramatic-boomer-29428/',
+ attribution:
+ 'Dramatic boomer -- https://www.myinstants.com/en/instant/dramatic-boomer-29428/',
},
{
fileName: 'triggered.wav',
attribution:
'Triggered -- https://www.myinstants.com/en/instant/core-sound-effect-57998/',
},
+ {
+ fileName: 'record-scratch.wav',
+ attribution:
+ 'Record scratch sound effect -- https://www.myinstants.com/en/instant/record-scratch-sound-effect/',
+ },
];
for (const sfx of soundEffects) {
diff --git a/packages/remotion-media/record-scratch.wav b/packages/remotion-media/record-scratch.wav
new file mode 100644
index 0000000000..92c3b76d0d
Binary files /dev/null and b/packages/remotion-media/record-scratch.wav differ
diff --git a/packages/sfx/src/index.ts b/packages/sfx/src/index.ts
index d1bc471576..d17fb68dbf 100644
--- a/packages/sfx/src/index.ts
+++ b/packages/sfx/src/index.ts
@@ -39,3 +39,5 @@ export const illuminatiConfirmed =
export const dramaticBoomer =
'https://remotion.media/dramatic-boomer.wav' as const;
export const triggered = 'https://remotion.media/triggered.wav' as const;
+export const recordScratch =
+ 'https://remotion.media/record-scratch.wav' as const;
diff --git a/packages/skills/skills/remotion/rules/sfx.md b/packages/skills/skills/remotion/rules/sfx.md
index 630f585fac..ba2dd83b11 100644
--- a/packages/skills/skills/remotion/rules/sfx.md
+++ b/packages/skills/skills/remotion/rules/sfx.md
@@ -46,5 +46,6 @@ The following sound effects are available:
- `https://remotion.media/illuminati-confirmed.wav`
- `https://remotion.media/dramatic-boomer.wav`
- `https://remotion.media/triggered.wav`
+- `https://remotion.media/record-scratch.wav`
For more sound effects, search the internet. A good resource is https://github.com/kapishdima/soundcn/tree/main/assets.