Proceedings of the 10th Convention of the
European Acoustics Association
Forum Acusticum 2023


Politecnico di Torino
Torino, Italy
September 11 - 15, 2023





Session: A02-02: Open-source software and cutting-edge applications in bio-acoustics
Date: Thursday 14 September 2023
Time: 10:00 - 10:20
Title: Introducing VocalPy: a core Python package for researchers studying animal acoustic communication
Author(s): D. Nicholson, Emory University, 1510 East Clifton Road Northeast 2006, 2006, Atlanta, 30322, USA
Pages: 4679-4682
DOI: https://www.doi.org/10.61782/fa.2023.0403
PDF: https://dael.euracoustics.org/confs/fa2023/data/articles/000403.pdf
Conference proceedings
Abstract

How did speech evolve? This and other questions answered by the study of animal acoustic communication require cutting edge computational methods, big team science, and true interdisciplinary collaboration. To those ends, more and more research groups are sharing their code. However, this code is often written to answer specific questions and tailored to specific data formats, which vary widely across groups. As a result, it is often difficult to read and reuse shared code. Furthermore, because each group writes code to deal with low-level details, there is massive duplication of effort. Here I present a software community, VocalPy, created to address these issues. Its core goal is to provide an interoperability layer. It achieves this with high-level abstractions, e.g., for audio, spectrograms, and annotation formats. These abstractions allow researchers to write in idioms designed to be readable across groups, while moving details about formats to configuration options. I describe how as a proof-of-concept we are leveraging VocalPy packages to develop a framework for benchmarking neural network models named vak. VocalPy enables vak to work with many data formats when preparing datasets for model training or automated analysis. In closing I outline a roadmap for future work.