Skip to main content


A Python tool to work with any format for annotating animal sounds and bioacoustics data

Project Status: Active – The project has reached a stable, usable state and is being actively developed. pyOpenSci DOI Build Status Documentation Status DOI PyPI version PyPI Python versions codecov

All Contributors

crowsetta provides a Pythonic way to work with annotation formats for animal sounds and bioacoustics data. These formats are used, for example, by applications that enable users to annotate audio and/or spectrograms. Such annotations typically include the times when sound events start and stop, and labels that assign each sound to some set of classes chosen by the annotator. crowsetta has built-in support for many widely used formats, such as Audacity label tracks, Praat .TextGrid files, and Raven .txt files.


example spectrogram showing Bengalese finch song with Praat TextGrid annotations indicated as segments underneath

Spectrogram of the song of a Bengalese finch with syllables annotated as segments underneath. Annotations parsed by crowsetta from a file in the Praat .TextGrid format. Example song from Bengalese finch song dataset, Tachibana and Morita 2021, adapted under CC-By-4.0 License.




example spectrogram from field recording with Raven annotations of birdsong indicated as rectangular bounding boxes

Spectrogram of a field recording with annotations of songs of different bird species indicated as bounding boxes. Annotations parsed by crowsetta from a file in the Raven Selection Table format. Example song from "An annotated set of audio recordings of Eastern North American birds containing frequency, time, and species information", Chronister et al., 2021, adapted under CC0 1.0 License.


Who would want to use crowsetta? Anyone that works with animal sounds or other bioacoustics data that is annotated in some way. Maybe you are a neuroscientist trying to figure out how songbirds learn their song, or why mice emit ultrasonic calls. Or maybe you're an ecologist studying dialects of finches distributed across Asia, or maybe you are a linguist studying accents in the Caribbean, or a speech pathologist looking for phonetic changes that indicate early onset Alzheimer's disease. crowsetta makes it easier for you to work with your annotations in Python, regardless of the format.

Features

  • take advantage of built-in support for many widely used formats, such as Audacity label tracks, Praat .TextGrid files, and Raven .txt files.
  • work with any format by remembering just one class:
    annot = crowsetta.Transcriber(format='format').from_file('annotations.ext')
    • no need to remember different functions for different formats
  • when needed, use classes that represent the formats to write readable scripts and libraries
  • convert annotations to common file formats like .csv that anyone can work with
  • work with custom formats that are not built in to crowsetta by writing simple classes, leveraging abstractions that can represent a wide array of annotation formats

For examples of these features, please see: https://crowsetta.readthedocs.io/en/latest/index.html#features

Getting Started

Installation

with pip

$ pip install crowsetta

with conda

$ conda install crowsetta -c conda-forge

Usage

If you are new to crowsetta, start with tutorial.

For vignettes showing how to use crowsetta for various tasks, such as working with your own annotation format, please see the how-to section.

Project Information

Background

crowsetta was developed for two libraries:

Support

To report a bug or request a feature (such as a new annotation format), please use the issue tracker on GitHub:
https://github.com/vocalpy/crowsetta/issues

To ask a question about crowsetta, discuss its development, or share how you are using it, please start a new topic on the VocalPy forum with the crowsetta tag:
https://forum.vocalpy.org/

Contribute

Code of conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Contributing Guidelines

Below we provide some quick links, but you can learn more about how you can help and give feedback
by reading our Contributing Guide.

To ask a question about crowsetta, discuss its development, or share how you are using it, please start a new "Q&A" topic on the VocalPy forum with the crowsetta tag:
https://forum.vocalpy.org/

To report a bug, or to request a feature, please use the issue tracker on GitHub:
https://github.com/vocalpy/crowsetta/issues

CHANGELOG

You can see project history and work in progress in the CHANGELOG

License

The project is licensed under the BSD license.

Citation

If you use crowsetta, please cite the DOI: DOI

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Tessa Rhinehart
Tessa Rhinehart

📖 🐛 📓 🤔
Sylvain HAUPERT
Sylvain HAUPERT

💻 🤔 📓
Yannick Jadoul
Yannick Jadoul

🤔 🐛 📖 📓
sammlapp
sammlapp

🤔

This project follows the all-contributors specification. Contributions of any kind welcome!

Metadata

Release files for crowsetta 5.1.3.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crowsetta 5.1.3.post1
File Size Uploaded
crowsetta-5.1.3.post1.tar.gz 4.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for crowsetta 5.1.3.post1
File Interpreter ABI Platform
crowsetta-5.1.3.post1-py3-none-any.whl Python 3 none any Details

Total release size: 4.9 MB

Release files / crowsetta-5.1.3.post1.tar.gz

Download URL crowsetta-5.1.3.post1.tar.gz
Size 4.7 MB
Tags Source
SHA-256 checksum
How to use checksums
b4b7687805eb681507eda6595d61cbc580001c088f7cf949fd2504b1bf17ca71
BLAKE2b-256 checksum
How to use checksums
7d1013df9dfce42101982bd0acdb9eddb80779184a96786c4497b5cf358e59b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Release files / crowsetta-5.1.3.post1-py3-none-any.whl

Download URL crowsetta-5.1.3.post1-py3-none-any.whl
Size 160.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7868532aa629090d6dc5498f49d3662341ed66677ee5cbb633ae9b136f48cc43
BLAKE2b-256 checksum
How to use checksums
c9cf92ebd87f403563a8c8fdbc75cd146e70646e2d2367ccdbc71f740bb0ebe2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page