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: 09:40 - 10:00
Title: Live-tracking Acoustic Parameters in Animal Behavioural Experiments: Interactive Bioacoustics with Parselmouth
Author(s): Y. Jadoul, Max Planck Institute for Psycholinguistics, Comparative Bioacoustics Group, Wundtlaan 1, 6525 XD Nijmegen, Netherlands
D. Duengen, Max Planck Institute for Psycholinguistics, Comparative Bioacoustics Group, Wundtlaan 1, 6525 XD Nijmegen, Netherlands
A. Ravignani, Max Planck Institute for Psycholinguistics, Comparative Bioacoustics Group, Wundtlaan 1, 6525 XD Nijmegen, Netherlands
Pages: 4675-4678
DOI: https://www.doi.org/10.61782/fa.2023.1106
PDF: https://dael.euracoustics.org/confs/fa2023/data/articles/001106.pdf
Conference proceedings
Abstract

Most bioacoustics software is used to analyse the already collected acoustics data in batch, i.e., after the data-collecting phase of a scientific study. However, experiments based on animal training require immediate and precise reactions from the experimenter, and thus do not easily dovetail with a typical bioacoustics workflow.

Bridging this methodological gap, we have developed a custom application to live-monitor the vocal development of harbour seals in a behavioural experiment. In each trial, the application records and automatically detects an animal’s call, and immediately measures duration and acoustic measures such as intensity, fundamental frequency, or formant frequencies. It then displays a spectrogram of the recording and the acoustic measurements, allowing the experimenter to instantly evaluate whether or not to reinforce the animal’s vocalization.

From a technical perspective, the rapid and easy development of this custom software was made possible by combining multiple open-source software projects. Here, we integrated the acoustic analyses from Parselmouth, a Python library for Praat, together with pyaudio and matplotlib’s recording and plotting functionality, into a custom graphical user interface created with PyQt. This flexible recombination of different open-source Python libraries allows the whole program to be written in a mere couple of hundreds lines of code.