Interactive bioacoustic annotation tool for measuring vocalizations
Project description
YAAAT! Yet Another Audio Annotation Tool
Interactive bioacoustic annotation tool for measuring vocalizations.
Features:
- Changepoint Annotator, for marking temporal onset, offset, and changepoints in vocalizations. Useful for describing rapid fluctuations and identifying nonlinear phenomena.
- Peak Annotator, for marking dominant frequency peaks on the power spectrum. Useful for describing spectrally complex vocalizations.
- Harmonic Annotator, for identifying harmonics.
| Changepoint Annotator | Peak Annotator | Harmonic Annotator |
Installation
Via Pip (probably easiest)
pip install yaaat
From Source
git clone https://github.com/laelume/yaaat.git
cd yaaat
pip install -e .
Usage
Launch the Application
yaaat
Opens a tabbed interface with various annotators. Includes test audio files to get started. For some reason, auto-load is a little buggy, so clicking Load Audio Files and selecting the included test_audio yourself lets the interface work as-intended.
Use Individual Annotators
python -m yaaat.changepoint_annotator
python -m yaaat.peak_annotator
python -m yaaat.harmonic_annotator
Use in Python Scripts
from yaaat import ChangepointAnnotator, PeakAnnotator, HarmonicAnnotator
import tkinter as tk
# Launch annotator
root = tk.Tk()
app = ChangepointAnnotator(root) # or PeakAnnotator or HarmonicAnnotator
root.mainloop()
Getting Started (Any Tab)
- Click Load Audio Directory to select files or Load Test Audio to explore test audio
- Choose where to save annotations (existing, new, or default directory)
- Click on the spectrogram to add annotations points
- Click Finish Syllable when done with annotation
- Move between files using Next/Previous buttons
- Annotations auto-save on file navigation or Finish syllable
Navigation & Features
-
Intuitive real-time interactive visualization with zoom, pan, and keycommand + mousewheel navigation
-
Visualize harmonics with adjustable multipliers and draggable bounding boxes
-
JSON annotations saved per-file to minimize corruption
-
Mark and track unusable files
-
Adjust spectrogram resolution for accuracy comparison
-
TODO: implement ranking system for annotation quality; inject as learning feedback mechanism
v0.1.9 - Contour Extraction Tools
New Features
- Lasso Selection: Ctrl+Click+Drag to select regions
- Endpoint Marking: Ctrl+Click two points to extract time range
- Cross-contour extraction: Select points from multiple contours at once
- Auto-sorted table: Contours sorted by onset time
Improvements
- Zoom only activates on normal Click+Drag (Ctrl excluded)
- Table updates immediately after modifications
- Better error handling and user feedback
Requirements
- Python ≥3.8 (built using 3.11)
- numpy
- matplotlib
- scipy
- natsort
- pysoniq # custom minimal audio package
License
MIT License - Copyright (c) 2025 laelume
Contributing
Contributions welcome! Please open an issue or submit a pull request. I'm especially interested in talking to people about using this in their existing AI workflows, so please feel free to reach out !!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yaaat-0.1.10.tar.gz.
File metadata
- Download URL: yaaat-0.1.10.tar.gz
- Upload date:
- Size: 7.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c37b30a1632336f5f3cc3f343203cff8646c639a975e9c5f43577d609c5dfc7
|
|
| MD5 |
46a826f8f3aa99c3fcaa1437eb78b6bb
|
|
| BLAKE2b-256 |
e3170a31a7bb51ece512bfe2e7439370fc3c2a5b48277c663b4dee7bff47cb4c
|
File details
Details for the file yaaat-0.1.10-py3-none-any.whl.
File metadata
- Download URL: yaaat-0.1.10-py3-none-any.whl
- Upload date:
- Size: 7.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5eab0f0f16692088e7bfdf9933eadb458a6a0bc7b37a0a5dc2840336e5bcc929
|
|
| MD5 |
1cd22a5e7fd637b3bd5bf6c22eabe7be
|
|
| BLAKE2b-256 |
530c02a9e2c4f317366e032bdd6f8a7f83ad36dcb5488390d625b9b1684167a8
|