Repository navigation
earshot makes sound effects for a coding agent, which cannot hear them. Until now earshot listened. 1.0 makes the
sounds too: the agent asks in words, and earshot renders a new take of a design from its catalogue, on your own
computer's CPU, with no audio model and no network.
npx skills add Leonxlnx/earshot # the agent skills
pip install "earshot @ git+https://github.com/Leonxlnx/earshot" # the tool$ earshot make "three variations of a footstep on gravel" -o step.ogg
step_1.ogg: step/pebbles (0.51 s, peak at 0.10 s, -15 LUFS, clean) [gravel, footstep]
step_2.ogg: step/pebbles (0.40 s, peak at 0.07 s, -16 LUFS, clean)
step_3.ogg: step/pebbles (0.60 s, peak at 0.02 s, -16 LUFS, clean)
New
Ask for a sound: earshot make
- A catalogue of 922 designs in 384 families: interface sounds, everyday foley, ambience beds, game sounds, chip
sound, drums, film and motion effects. - 309 designs are learned from 692 recordings in the public domain. Each recording is kept as numbers, not audio, and
every render is a new take of it. No audio file is in the repository. - The reader needs no model. It reads the thing, the action, the surface ("rain on wood"), counts, lengths, feelings
and negation, in English and in German. - Every take is checked before it is written (clicks, cut tails, clipping, DC), and the answer says in plain lines
what was made and what the request asked for that the sound does not do. - When the catalogue lacks the thing, the answer says so: "earshot makes no X; Y is only the nearest sound it has".
Build what is missing: earshot build
earshot build "a stampede of horses" -o stampede.wavdrafts one to three recipes from recorded parts, renders
them, hears them with earshot's listening model, tunes their numbers and writes the sound and its recipe.- The agent can name the parts in words:
--part "hundreds of hoofbeats on dirt, for 6 s, getting louder". The
answer says which recording each part became and which words it did not understand. - A recipe is a small JSON form of up to 12 layers with
scatter(one take many times: rain from drops, applause
from claps),level,bend,pan,pass(a thing going by),spin(a rotor, wings, purring) andstretch. - A cookbook of 99 recipes; 59 answer a request for their thing on their own.
Sets, for a whole app, game or film
earshot make --set ui|game|arcade|filmmakes a family of sounds in one call, with a manifest, in several formats
and as a sprite in the format howler.js reads.--spec FILEmakes your own set.
For agents
- An MCP server with 20 tools (
make,build,make_set,soundsand the listening tools), a Claude Code plugin
(/plugin marketplace add Leonxlnx/earshot) and two skills.
Changed
- A lighter install. The base install is numpy, scipy, soundfile, soxr and numba, which is all that making
sounds needs. The listening side (torch, transformers, librosa) moved to the extralisten. - Upgrading from 0.4: to keep
describe,match,rank,timelineand the other listening commands, install
the extra:pip install "earshot[listen] @ git+https://github.com/Leonxlnx/earshot". A command that needs a
missing extra stops with one sentence that names thepip installcommand. - Everything earshot renders is yours, free for any use, commercial too, without credit (answers #21). The code
stays MIT.
Fixed
Thanks to @Bortlesboat, @anascherif and @liugedragon.
sheetnames the PNG by its real path (#22).- Cue, kit and params JSON files with a byte order mark or in UTF-16 load (#24, closes #23).
- A damaged scene-cut cache is scanned again and written atomically (#26);
timeline --freshbypasses the decode and
frame caches too (#27). - Digital silence is counted across all channels (#29); an empty picture-only range is an error (#30).
- Picture-only timelines and frame differences use far less memory (#31).
- A Linux job runs the fast tests without the models (#32).
What it cannot do
- earshot makes sound effects, not music, and it makes no speech.
buildworks for sounds made of many similar events (applause, a swarm, a stampede, a campfire) and for pulsing
things. It is weak for voices, pure tones and vehicles passing by. A build takes about a minute.- The fit that
buildreports comes from a listening model, not from a person. - Tested on Windows and Linux, not on macOS.
The whole list: docs/LIMITS.md. Full changelog:
CHANGELOG.md.