bioRxivEcology
ohun: an R package for diagnosing and optimizing automatic sound event detection
M. Araya-Salas, G. Smith-Vidaurre, G. Chaverri, J. C. Brenes, F. Chirino, J. Elizondo-Calvo, A. Rico-Guevara
Abstract
Animal acoustic signals are widely used in diverse research areas due to the relative ease with which sounds can be registered across a wide range of taxonomic groups and research settings. However, bioacoustics research can quickly generate large data sets, which might prove challenging to analyze promptly. Although many tools are available for the automated detection of sounds, choosing the right approach can be difficult only a few tools provide a framework for evaluating detection performance. Here we present ohun, an R package intended to facilitate automated sound detection. ohun provides functions to diagnose and optimize detection routines and compare performance among different detection approaches. The package uses reference annotations containing the time position of target sounds in a training data set to evaluate detection routines performance using common signal detection theory indices. This can be done both with routine outputs imported from other software and detections run within the package. The package also provides functions to organize acoustic data sets in a format amenable to detection analyses. ohun also includes energy-based and template-based detection methods, two commonly used automatic approaches in bioacoustic research. We show how ohun automatically can be used to detect vocal signals with case studies of adult male zebra finch (Taenopygia gutata) songs and Spixs disc-winged bat (Thyroptera tricolor) ultrasonic social calls. We also include examples of how to evaluate the detection performance of ohun and external software. Finally, we provide some general suggestions to improve detection performance.
- organism: zebrafish
- organism: mouse
- assay: proteomics
- research focus: benchmarking
- approach: deep learning
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Rthoptera: standardised insect bioacoustics in R
Francisco Rivas, Filippo Maria Buzzetti, … Bryan Christopher Pijanowski·Methods in Ecology and EvolutionPeer-reviewed·Apr 25, 2025
- Bat Detective - Deep Learning Tools for Bat Acoustic Signal Detection
O. Mac Aodha, R. Gibb, … K. E. Jones·bioRxiv·Jun 29, 2017
- Bioacoustic Event Detection with Self-SupervisedContrastive Learning
P. C. Bermant, L. Brickson, A. J. Titus·bioRxiv·Oct 12, 2022
- DISCO: A deep learning ensemble for uncertainty-aware segmentation of acoustic signals
Thomas H. Colligan, Kayla Irish, … Travis J. Wheeler·PLoS ONEPeer-reviewed·Jul 26, 2023
- buzzdetect: an open-source deep learning tool for automated bioacoustic pollinator monitoring
Luke E. Hearon, Lillian H P Johnson, … Reed M. Johnson·Journal of Insect SciencePeer-reviewed·Nov 7, 2025
- Automatic vocalisation detection delivers reliable, multi-faceted, and global avian biodiversity monitoring
S. S. Sethi, A. Bick, … C. Banks-Leite·bioRxiv·Sep 14, 2023