AI News
All projects
Tool

earshot renders sound effects in code for coding agents that cannot hear them

earshot is a command-line tool, Python package and MCP server that turns a plain-language request for a sound effect into a file rendered by code from a catalogue of 922 designs.

earshot by Leonxlnx · 5,811 GitHub stars when we found it · added

earshot answers a request such as "a soft success sound" from a catalogue of 922 designs in 384 families and renders a new take of the best one. The README says 309 of the designs were learned from 692 public-domain recordings. The repository contains no audio file, and each sound is rendered by code when it is requested. When the catalogue lacks a sound, "earshot build" assembles one from recorded parts. The agent names those parts in words, and a listening model judges the result. The README stresses that no model generates audio. The listening models only judge.

It is made for agents such as Claude Code and runs on the CPU. The base install needs Python 3.10 or newer and no model. ffmpeg is needed only for ogg, mp3, m4a and webm. It installs from GitHub as a Python package or a uv tool, and as a Claude Code plugin with an MCP server of 20 tools. The listening extra downloads two open models, about 1.1 GB, which take about 2.2 GB on disk. The author writes that every sound it makes is yours to use, and recordings are credited in a CREDITS.md file.

The README is frank about its limits. In a blind test of five forge sounds against real recordings, one listener picked the made sound 8 times out of 15, which is chance. The author notes that the search optimises earshot's own models. Some recipes are only sketches to start from. A request for something the catalogue lacks still gets a file, and the answer says so.

In the author's words

It is made for agents such as Claude Code, which write the code of interfaces, games and films, and for the people who work with them.

From the README or the author's post. We checked that the sentence is there, not that it is true.

When to reach for it

A builder who needs UI or game sounds without shipping audio files can ask for a whole set in one call, such as the ui or game sets, and get them rendered at build time. Agent builders can also see how a tool exposes an MCP server with clear fallbacks when the catalogue lacks a sound.

Works with

Claude Code

See it

AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it. How this list is made