arXiv:2609.37910cs.SDSep 2026

Manuscript Offprint

arXiv:2609.37910

2-Dimensional spectral gating for denoising bioacoustics recordings

Julien Boussard, Mélisande Teng, Sulagna Saha, Mario Gallego-Abenza

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Isolating vocalizations from noise in bioacoustics recordings is a prerequisite to many ecological analyses, including species identification, animal communication understanding, and individual or population-level variability studies. However, when recordings are acquired in open environments, vocalizations, noise, or signal-to-noise ratio can vary widely across individuals, species, environment, and recording conditions, making it hard to develop robust and generalizable methods for ecological analyses. To account for these challenges, noise reduction techniques are used to remove noise before downstream analyses. Popular methods such as Noisereduce rely on spectral gating, which estimates a noise threshold for each frequency channel. We propose a further improvement to Noisereduce, leveraging the fact that most animal sounds have structure across multiple frequencies. We apply our method on bird and marine mammals recordings and show that our extension of Noisereduce leads to improved denoising in both above and under water acoustic recordings, without impacting speed of preprocessing.

Index Terms— bioacoustics, spectral gating, denoising.

1. INTRODUCTION

Bioacoustics, the study of animal sounds, has emerged as an important tool for conservation [1]. Recently, vast amounts of bioacoustics recordings have become increasingly available thanks to advances in recording technologies and citizen science initiatives [2]. These recordings are acquired in heterogeneous conditions, far from controlled environments such as soundproof chambers, and present a wide variation in types of noise, signal-to-noise ratio, and vocalizations. This poses challenges for downstream ecological analyses of these recordings, which often rely on accurate signal extraction or detection [3]. Reliable denoising is also important in a context where machine learning (ML) approaches leveraging large amounts of data open promising avenues for bioacoustics but can fail at generalizing across recording conditions and vocalization types or overfit to background noise instead of extracting useful information [4]. This highlights the need for robust denoising methods that effectively remove the noise, regardless of the recording environment.

Traditional denoising approaches are mostly filters. Bandpass filters [5] mask out low or high frequencies globally to isolate frequencies where the signal is present. Other filters such as the mean, median or Gaussian filters smooth the signal by pulling the mean, median, or weighted mean, over a sliding window. The Wiener filter [6], widely used in acoustics, assumes stationary signal and additive noise to estimate the signal by linear time-invariant filtering, and the Savitzky-Golay filter [7] fits a low-degree polynomial to a local sliding window using linear least squares to estimate the signal. While these methods are fast and efficient, they generally assume additive, Gaussian noise and generalize poorly to different types of natural noise.

To remedy these issues, spectral subtraction or gating approaches estimate the noise per frequency band. They first transform the signal into the time-frequency domain, estimate the noise spectrum, and either subtract it from the raw spectrum or mask out noise frequencies. In particular, Noisereduce [8] works as follows. It first estimates the mean and standard deviation ( μf\mu_f, σf\sigma_f) for each frequency band ff, and then masks every value that is below μf+zth∗σf\mu_f + z_{\text{th}} * \sigma_f, to keep all the signal that is considered an outlier under the noise distribution. zthz_{\text{th}} represents a z-score. By treating each frequency band independently, this method does not leverage signal structure.

More recently, several works have proposed deep-learning based denoising approaches that train an autoencoder to denoise the signal by mapping it to a low dimensional space [9], train a supervised neural network using manual annotations [10], or use a noise model to generate pairs of noisy and clean samples and train a supervised denoising model [11]. These approaches require large training datasets and machine learning expertise, labelled data, or a good noise model, hindering their generalization capabilities and their adoption by the bioacoustics community.

In this paper, we propose an extension to Noisereduce. Our 2D spectral gating method (2D-SG) leverages the structure of animal vocalizations, which usually exhibit signals that span across multiple frequencies. We do not compare our approach to deep learning methods in this paper, as our goal is to propose a simple, efficient method that is readily applicable to any recording, and requires neither machine learning expertise nor additional data labeling or collection.