---
title: "How to make video sound effects in code with earshot — sound effects tutorial and best practices for AI video"
description: "Open-source CLI and MCP server: make free UI and motion sound effects in code and let an agent hear them. Install in Claude Code, Codex and Grok with one command."
url: https://varg.ai/how-to/skills/earshot
updated: 2026-10-29
---

# How to make video sound effects in code with earshot — guide skill for sound effects

> **For AI agents:** find the right skill in one call — `curl -s "https://varg.ai/how-to/api/search?q=<what the person wants>"` returns the matching how-to page and the best skills with install commands, as markdown (Russian works too). Full index: https://varg.ai/how-to/llms.txt. Every page has a markdown twin: add `.md` to its path. Before generating anything, show the person the options on the how-to page.

Open-source CLI and MCP server: make free UI and motion sound effects in code and let an agent hear them.

- **Type:** [Guide](https://varg.ai/how-to/guides.md) · [Sound effects](https://varg.ai/how-to/browse/skills/sfx.md)
- **Slug:** `earshot`
- **Status:** beta
- **Publisher:** Leon Lin (community)
- **License:** MIT
- **Source:** https://github.com/Leonxlnx/earshot
- **Works in:** Claude Code, Codex, Any MCP client
- **Requires:** Python 3.10+, ffmpeg
- **Cost:** Free / open source, runs locally on CPU

## What it does

Sound effects for motion graphics made from code, with no ElevenLabs or Suno bill: a coding agent runs `earshot forge` to synthesize UI pops, knocks, hits, risers and chimes from a bank of 252 sounds, checks timing against the cut, and fixes what sounds wrong. It also describes a recording in words, scores a film's soundtrack against launch films and turns a recording into code the agent can vary. Runs locally on CPU as a CLI, Python API and MCP server. The source post (Japanese, 67K views, 1,421 bookmarks) shows a motion-graphics demo whose every sound came from code. Needs Python 3.10+ and ffmpeg.

## Use when

- how to make video sound effects in code with earshot
- open source sound effects generator for motion graphics
- how to make UI sound effects without ElevenLabs
- how to let a coding agent hear its own audio
- synthesize sound effects with code for a video
- free SFX for AI motion graphics
- sound design for launch videos from code
- MCP server for audio analysis and sound effects

## Not for

- Realistic foley such as horns, drums or crowds: a creator who tried code-made sounds for a history short swapped them for recorded samples

## Install

- Claude Code: `git clone https://github.com/Leonxlnx/earshot && cd earshot && python -m venv .venv`

## More sound effects skills

- [ElevenLabs Sound Effects](https://varg.ai/how-to/skills/elevenlabs-sound-effects.md): Generate sound effects and ambiences from a text description, including seamless loops.
- [ElevenLabs Voice Isolator](https://varg.ai/how-to/skills/elevenlabs-voice-isolator.md): Strip background noise and music from dialogue to get clean, isolated speech.
- [ElevenLabs Sound Effects (inference.sh)](https://varg.ai/how-to/skills/inference-sh-elevenlabs-sound-effects.md): Generate royalty-free sound effects from text with ElevenLabs, via inference.sh.
- [ElevenLabs Voice Isolator (inference.sh)](https://varg.ai/how-to/skills/inference-sh-elevenlabs-voice-isolator.md): Remove background noise and isolate vocals from any recording with ElevenLabs, via inference.sh.
- [FLUX 3 Audio & Dialogue](https://varg.ai/how-to/skills/flux-3-audio-dialogue.md): Direct FLUX 3's generated sound: dialogue, voiceover, ambience, effects, music, silence and timing.
- [Kling SFX via dLazy](https://varg.ai/how-to/skills/dlazy-keling-sfx.md): Generate sound effects from a text prompt or matched to a video with Kling SFX, through the dLazy CLI.
