earshot — What is it?

earshot is an open-source tool that enables AI coding agents to analyze, create, and critique sound files through code, filling the gap between AI's auditory and coding capabilities.

⭐ 5,280 Stars 🍴 354 Forks Python MIT Author: Leonxlnx
Source: Official README and linked documentation View on GitHub →

Why it matters

earshot is being discussed because its innovative approach to integrating sound analysis and creation with AI coding agents. It addresses the pain point of AI's inability to perceive and manipulate audio, filling this gap with a unique combination of audio analysis tools and procedural audio generation capabilities. The project differs through its CPU-only operation, Python API, and CLI, making it accessible and versatile for developers and AI researchers.

Source: Official README and linked documentation

Core Features

Sound Description

Describes audio files using calibrated tags, alternative readings, and measurements, enabling AI agents to understand and reason about sound.

Source: Official README and linked documentation
Sound Matching

Compares audio files against descriptions and provides a verdict on how well the description fits the audio, using cosine similarity and z-scores.

Source: Official README and linked documentation
Sound Creation

Generates sounds in code using a recipe-based approach, allowing for iterative improvement and customization through listening and feedback.

Source: Official README and linked documentation
Sound Translation

Converts recordings into code that can be manipulated and re-rendered, enabling AI agents to create variations of audio files.

Source: Official README and linked documentation
Sound Comparison

Compares audio files against reference recordings and provides a scorecard against professional launch films, aiding in critique and improvement.

Source: Official README and linked documentation

Architecture

The architecture of earshot is modular, with separate components for audio analysis, sound creation, and comparison. It uses a Python API and CLI for interaction, and relies on a variety of libraries for audio processing and machine learning. The project employs a CPU-only approach, ensuring compatibility with a wide range of hardware.

Source: Official repository tree and dependency files

Project Knowledge Graph

Knowledge graph: project (center) + core features (inner hexagons) + key dependencies (outer chips) numpy scipy soundfile soxr librosa Sound Description Sound Matching Sound Creation Sound Translation Sound Comparison earshot Project Core feature Key dependency

Tech Stack

LanguagePythonFrameworkNo specific frameworks mentioned, but uses libraries like numpy, scipy, librosa, and scikit-learn for audio processing and machine learning.
numpyscipysoundfilesoxrlibrosapyloudnormscikit-learnpillowmatplotlibtorchtransformers
CPU-only, no specific infrastructure mentioned.
Source: Official repository tree and dependency files

Quick Start

pip install earshot earshot describe enter.ogg earshot match key.ogg "a deep thocky mechanical keyboard press" earshot forge keypress --refs path/to/real/keypresses/ --budget 144 --variants 4 --dir made/keypress
Source: Official README and linked documentation

Use Cases

1. AI coding agents that need to analyze and understand audio files. 2. Developers creating procedural audio for games, films, or other multimedia projects. 3. Researchers in the field of AI and sound synthesis.

Source: Official README and linked documentation

Strengths & Limitations

Strengths

  • Unique combination of audio analysis and procedural audio generation capabilities.
  • CPU-only operation ensures compatibility with a wide range of hardware.
  • Accessible and versatile for developers and AI researchers.

Limitations

  • Limited documentation and community support compared to more established projects.
  • Relies on external reference recordings for some features.
Source: Official README and linked documentation

Latest Release

v0.3.0 (2026-10-16): Added support for sound for code-made films, improved forge v2, and added new features like sfx render and kit init.

Source: Official releases

Verdict

earshot is a project that offers a unique solution for integrating sound analysis and creation with AI coding agents. It is particularly suitable for developers and researchers interested in procedural audio and AI-assisted sound design.

Sources and review scope
This review is based on the project's public documentation. Versions, installation commands, and feature boundaries can change upstream; check the cited sources and current release before use. Sources checked on: 2026-10-20 18:31.

Reference materials: README, GitHub API, dependency files