Overview
A digital glitch sound effect for error states, tech aesthetics, and cyberpunk vibes. Duration: 2.64s.
Installation
React / Web Audio
npx shadcn@latest add @elements/sfx-glitchVideo Production / Agents
curl -o public/sfx/glitch.mp3 https://tryelements.dev/sfx/glitch.mp3Usage
React Hook
import { useSound } from "@/hooks/use-sound";
import { glitchSound } from "@/sfx/glitch";
export function ErrorState() {
const [play] = useSound(glitchSound, { volume: 0.3 });
return <button onClick={play}>Trigger Glitch</button>;
}Remotion
import { Audio, staticFile } from "remotion";
export function GlitchTransition() {
return <Audio src={staticFile("sfx/glitch.mp3")} volume={0.3} />;
}Timing
Play at the reveal of the error state or glitch visual effect.
License
CC0 (public domain). No attribution required. Free for commercial use.