# AI use cases for Earshot (Leonxlnx/earshot)

Repo: [Leonxlnx/earshot](https://github.com/Leonxlnx/earshot) | Use cases: 4 | Page: https://dedupedai.com/use-cases/leonxlnx-earshot/

earshot is an open source, CPU-only toolkit that gives coding agents the ability to describe, judge, search and generate sound through a CLI, a Python API and an MCP server.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Pick the best sound file from a pile of downloads: https://dedupedai.com/use-cases/leonxlnx-earshot/pick-best-sound-download/
- Find the exact moment of a sound in a long recording: https://dedupedai.com/use-cases/leonxlnx-earshot/find-best-moment-in-recording/
- Score a launch video's sound and get timestamped fixes: https://dedupedai.com/use-cases/leonxlnx-earshot/check-launch-film-sound-sync/
- Generate a sound effect in code and improve it by listening: https://dedupedai.com/use-cases/leonxlnx-earshot/generate-sound-effect-in-code/

## How to pick the best sound file from a pile of downloads with Earshot

Repo: [Leonxlnx/earshot](https://github.com/Leonxlnx/earshot) | Difficulty: Beginner | Time: 15 minutes | Basis: From the README

Rank candidate sound files against a plain description, then check the winner's match verdict.

**Who it is for:** A game dev or video editor sorting dozens of downloaded sound effects for one moment.

**The problem:** Auditioning every file by ear takes ages, and file names say little.

**The outcome:** Your candidates sorted by how well they fit the description, and a strong, plausible or weak verdict on the top one.

### Steps

1. Install Earshot from the repo (Python 3.10+, ffmpeg) and let the first run fetch its two open models
2. Rank the files with the `rank QUERY PATHS...` command, for example a single mechanical key press against your candidates folder
3. Check the best one: `earshot match key.ogg "a deep thocky mechanical keyboard press" --alts "a clicky blue switch keyboard" "a mouse click"`
4. Read what it sounds like in words with `earshot describe enter.ogg` (use your file)

### Prompt to paste into your agent

```text
Using Leonxlnx/earshot, rank the files in <folder> for the description "<description>", run match on the top file with two alternative descriptions, and give me the ranked list plus the verdict.
```

### Caveat

The first model use downloads about 1.1 GB of open models; after that it runs offline on the CPU.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/leonxlnx-earshot/pick-best-sound-download/

## How to find the exact moment of a sound in a long recording with Earshot

Repo: [Leonxlnx/earshot](https://github.com/Leonxlnx/earshot) | Difficulty: Beginner | Time: 10 minutes | Basis: From the README

Search inside a long file by description and get the best moments as start and end seconds.

**Who it is for:** A podcaster, editor or researcher hunting for one sound in hours of audio.

**The problem:** Scrubbing through a long recording for one sound wastes time.

**The outcome:** The best matching moments as sample trims with start and end seconds.

### Steps

1. Run `earshot find keys.ogg "a single mechanical key press" --top 4` with your own file and description
2. Note the start and end seconds of the strongest match
3. Use `earshot describe` on the file first if you are not sure what it contains

### Prompt to paste into your agent

```text
Using Leonxlnx/earshot, run find on <file> for "<description>" with --top 4, and return each moment's start and end seconds and strength. Confirm each interval lies inside the file.
```

### Caveat

This card is written from the Leonxlnx/earshot README, not from a test run by Deduped. Before you start, make sure you have Python and a working Earshot install. Check the repo for newer instructions before you rely on these steps.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/leonxlnx-earshot/find-best-moment-in-recording/

## How to score a launch video's sound and get timestamped fixes with Earshot

Repo: [Leonxlnx/earshot](https://github.com/Leonxlnx/earshot) | Difficulty: Intermediate | Time: 20 minutes | Basis: From the README

Run a critique of your film's audio against professional launch films, then look at the annotated sheet.

**Who it is for:** A founder or editor finishing a launch video who is not a sound designer.

**The problem:** Bad sound sync and levels make a video feel cheap, but most people cannot say why.

**The outcome:** A scorecard with timestamped fixes, and an annotated picture of sound events, loudness and sync markers.

### Steps

1. Run `earshot critique film.mp4` on your video
2. Read the verdict and the timestamped fixes
3. Get the full listening transcript with the `timeline FILE` command (add the video for sync to cuts)
4. For agents that read images, make an annotated PNG with `earshot sheet`

### Prompt to paste into your agent

```text
Using Leonxlnx/earshot, critique <film.mp4>, make its sheet as a PNG, and list the top five fixes with timestamps. Then apply the ones you can in <editor or project>.
```

### Caveat

This card is written from the Leonxlnx/earshot README, not from a test run by Deduped. Before you start, make sure you have Python and a working Earshot install. Check the repo for newer instructions before you rely on these steps.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/leonxlnx-earshot/check-launch-film-sound-sync/

## How to generate a sound effect in code and improve it by listening with Earshot

Repo: [Leonxlnx/earshot](https://github.com/Leonxlnx/earshot) | Difficulty: Intermediate | Time: 30 minutes | Basis: From the README

Use forge to render candidates from a recipe, score them against real references and keep the best.

**Who it is for:** A game or app developer who needs click, pop or whoosh sounds without licensing a library.

**The problem:** Stock sound packs are generic, and synthesizing sounds by hand is trial and error.

**The outcome:** WAV files picked by a critic against your references, with a report and an audition file.

### Steps

1. List the recipes and reference sets: `earshot forge --list`
2. Run `earshot forge keypress --refs path/to/real/keypresses/ --budget 144 --variants 4 --dir made/keypress` with your reference folder
3. Open the report and audition file in the output folder and listen to the picks
4. Re-render a pick with new seeds using `earshot forge --render`

### Prompt to paste into your agent

```text
Using Leonxlnx/earshot, list the forge recipes, then forge <recipe> against my references in <folder> into <out dir>. Report the chosen files and the critic's notes.
```

### Caveat

This card is written from the Leonxlnx/earshot README, not from a test run by Deduped. Before you start, make sure you have Python and a working Earshot install. Check the repo for newer instructions before you rely on these steps.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/leonxlnx-earshot/generate-sound-effect-in-code/
