ZSZainSpireDownload PDFLibrary
Claude Code · Claude Desktop · audio · updated 15 Nov 2026

Earshot: give Claude Code ears

Claude can't hear audio files. It only sees a name like whoosh.wav, so every sound effect it adds is a guess. Earshot is a free, open source tool (MIT license) that turns sound into words and numbers Claude can read, and can also pick or build sounds for your video.

Save this guide as a PDF to read it later, even offline.Download PDF
What you needWindows 10 / 11, about 2 GB free space, and an internet connection for the first setup. No GPU: earshot runs on the CPU only. Repo: github.com/Leonxlnx/earshot

01Install the three helpers

Open PowerShell (Start → type PowerShell) and run these one by one. They install uv (installs Python tools), ffmpeg (reads audio and video) and Git (downloads the code).

winget install --id=astral-sh.uv -e
winget install --id=Gyan.FFmpeg -e
winget install --id=Git.Git -e

Close PowerShell and open it again after this, so Windows finds the new commands. Check with uv --version and ffmpeg -version.

02Install earshot

uv tool install "earshot[mcp] @ git+https://github.com/Leonxlnx/earshot"

Later, to update it: uv tool upgrade earshot

03Download the models (first time only)

earshot doctor --fetch

This downloads two open AI models, about 1.1 GB, once. After that earshot loads them from your PC and works offline. earshot doctor on its own checks that everything is installed correctly.

04Connect it to Claude Code

Run this once. Claude Code then gets earshot as a tool (MCP server) and keeps the models loaded between calls, which is much faster than the command line.

claude mcp add earshot --scope user -e EARSHOT_THREADS=3 -- earshot mcp

Earshot tools not showing up? In PowerShell run $env:MCP_TIMEOUT=60000; claude so Claude Code waits a bit longer for it to start. EARSHOT_THREADS=3 keeps your laptop usable while it listens.

Now just ask Claude in plain words, for example: "Use earshot to check where the sound effects land in film.mp4 and fix the late ones."

0510 useful commands

You can type these yourself, or let Claude run them. The first five load the AI models (20 to 40 seconds per call on the command line); measure, sfx and kit don't need them.

#CommandWhat it does
1earshot describe key.oggWhat a sound sounds like, in words and numbers ("a mechanical key press").
2earshot rank "soft whoosh" sfx/Sorts a whole folder of sounds by how well they match your description.
3earshot find rec.wav "one clean click"Finds the best moment inside a long recording and gives start / end times.
4earshot ab a.wav b.wavCompares two sounds and says how B differs from A (louder, brighter, longer).
5earshot timeline film.mp4Listens to the whole video: events, loudness, cuts, and how early or late each sound is.
6earshot sheet film.mp4 -o sheet.pngMakes one picture of the audio (frames, waveform, markers) so you can see problems.
7earshot critique film.mp4A scorecard against professional launch videos, with timestamped fixes.
8earshot measure mix.wavExact meters only: loudness (LUFS), peak, brightness. No models needed.
9earshot sfx list / sfx render pop/4 -o pop.wavBrowse and render the 252 built-in sounds (whoosh, pop, click, hit...).
10earshot kit init --preset calm -o kit.jsonStarts a full sound kit for a video; then kit render and kit check.

Want a sound that isn't in the bank? earshot forge builds a new one in code and improves it by listening. It is slower (a few minutes per round).

06Use earshot in Claude Desktop

The Claude Desktop app can use earshot too, through the same MCP server. Do steps 01–03 first, then:

{
  "mcpServers": {
    "earshot": {
      "command": "C:\\Users\\YOU\\.local\\bin\\earshot.exe",
      "args": ["mcp"],
      "env": { "EARSHOT_THREADS": "3" }
    }
  }
}

If the file already has an "mcpServers" block, add only the "earshot" part inside it. Fully quit Claude Desktop (also from the tray) and open it again. Then ask: "Use earshot to describe C:\Users\YOU\Music\click.wav".

07Models without auto-download (manual setup)

If earshot doctor --fetch can't reach Hugging Face (blocked network, or a cloud sandbox where Claude works with files from your PC), download the two models by hand. This is the exact setup we use. Make a folder earshot-models with two folders inside: clap and ast.

clap (8 files, from laion/larger_clap_general):

https://huggingface.co/laion/larger_clap_general/resolve/16c8cc3159a3c8a31e8ff5ef1f66b0d9ab3667db/model.safetensors
https://huggingface.co/laion/larger_clap_general/resolve/16c8cc3159a3c8a31e8ff5ef1f66b0d9ab3667db/config.json
https://huggingface.co/laion/larger_clap_general/resolve/16c8cc3159a3c8a31e8ff5ef1f66b0d9ab3667db/preprocessor_config.json
https://huggingface.co/laion/larger_clap_general/resolve/16c8cc3159a3c8a31e8ff5ef1f66b0d9ab3667db/merges.txt
https://huggingface.co/laion/larger_clap_general/resolve/16c8cc3159a3c8a31e8ff5ef1f66b0d9ab3667db/special_tokens_map.json
https://huggingface.co/laion/larger_clap_general/resolve/16c8cc3159a3c8a31e8ff5ef1f66b0d9ab3667db/tokenizer.json
https://huggingface.co/laion/larger_clap_general/resolve/16c8cc3159a3c8a31e8ff5ef1f66b0d9ab3667db/tokenizer_config.json
https://huggingface.co/laion/larger_clap_general/resolve/16c8cc3159a3c8a31e8ff5ef1f66b0d9ab3667db/vocab.json

ast (3 files, from MIT/ast-finetuned-audioset):

https://huggingface.co/MIT/ast-finetuned-audioset-10-10-0.4593/resolve/f826b80d28226b62986cc218e5cec390b1096902/model.safetensors
https://huggingface.co/MIT/ast-finetuned-audioset-10-10-0.4593/resolve/f826b80d28226b62986cc218e5cec390b1096902/config.json
https://huggingface.co/MIT/ast-finetuned-audioset-10-10-0.4593/resolve/f826b80d28226b62986cc218e5cec390b1096902/preprocessor_config.json

Check the sizes after downloading: CLAP model.safetensors ≈ 776 MB, AST ≈ 346 MB, and no file may be 0 KB (re-download it if it is; use right-click → "Save link as" if the browser opens the file instead). Keep the exact file names.

Then tell earshot to use these folders instead of the internet (PowerShell, before running earshot):

$env:EARSHOT_CLAP="C:\path\to\earshot-models\clap"
$env:EARSHOT_AST="C:\path\to\earshot-models\ast"
$env:EARSHOT_OFFLINE="1"
earshot doctor --load

For Claude Desktop, put the same three values in the "env" block of step 06. earshot doctor --load should end with problems: [].

Giving the models to Claude when it works in a cloud sandbox: a file transfer there may be limited to 400 MB per file, so split the big CLAP file into parts. Open a terminal in the clap folder and run:

$f="model.safetensors";$s=[IO.File]::OpenRead("$PWD\$f");$b=New-Object byte[] 367001600;$i=1;while(($n=$s.Read($b,0,$b.Length)) -gt 0){$o=[IO.File]::Create("$PWD\$f.00$i");$o.Write($b,0,$n);$o.Close();$i++};$s.Close();ls "$f.*"

This makes model.safetensors.001, .002 and .003. Ask Claude to join them back with cat model.safetensors.00{1,2,3} > model.safetensors and set the three variables above. In a sandbox, torch and transformers install from PyPI (pip install torch transformers).

08Honest notes