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.
| Changepoint Annotator | Peak Annotator |
Installation
Via PyPI (Recommended)
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 both annotators. Includes test audio files to get started immediately.
Use in Python Scripts
from yaaat import ChangepointAnnotator, PeakAnnotator
import tkinter as tk
# Launch changepoint annotator
root = tk.Tk()
app = ChangepointAnnotator(root)
root.mainloop()
# Or launch peak annotator
root = tk.Tk()
app = PeakAnnotator(root)
root.mainloop()
Getting Started
- 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 annotation 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
Requirements
- Python ≥3.8 (built using 3.11)
- numpy
- matplotlib
- librosa
- scipy
- natsort
- sounddevice
- soundfile
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.5.tar.gz.
File metadata
- Download URL: yaaat-0.1.5.tar.gz
- Upload date:
- Size: 4.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 |
a80a305399530939f4e4111ae1843927efe1bd5f0ab44732f3dbc79b1b943362
|
|
| MD5 |
280cd1c09e13b2d3675eda796e7920e3
|
|
| BLAKE2b-256 |
02b9d4b05d765cb29fdb8fef69aec65ba475a3512c799bbfa3da8ee5beb87e09
|
File details
Details for the file yaaat-0.1.5-py3-none-any.whl.
File metadata
- Download URL: yaaat-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.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 |
2f84716755a1d44791a0403e34f0c71b1156826b2890d04368c962696a40b2d0
|
|
| MD5 |
24e9c600cd81c8d000676c8116e40465
|
|
| BLAKE2b-256 |
d3ec4c44df8b9a778213eaf4045d51e8be579101c274628994ec6b0925605bd3
|