warbleR is intended to facilitate the analysis of the structure of animal acoustic signals in R. Users can collect open-access avian recordings or enter their own data into a workflow that facilitates spectrographic visualization and measurement of acoustic parameters. warbleR makes use of the fundamental sound analysis tools of the seewave package, and offers new tools for acoustic structure analysis. These tools are available for batch analysis of acoustic signals.
The main features of the package are:
- Diverse tools for measuring acoustic structure
- The use of loops to apply tasks through acoustic signals referenced in a selection table
- The production of images in the working directory with spectrograms to allow users organize data and verify acoustic analyses
The package offers functions to:
- Explore and download Xeno‐Canto recordings
- Explore, organize and manipulate multiple sound files
- Detect signals automatically (in frequency and time) (but check the R package ohun for a more thorough and friendly implementation)
- Create spectrograms of complete recordings or individual signals
- Run different measures of acoustic signal structure
- Evaluate the performance of measurement methods
- Catalog signals
- Characterize different structural levels in acoustic signals
- Statistical analysis of duet coordination
- Consolidate databases and annotation tables
Most of the functions allow the parallelization of tasks, which distributes the tasks among several processors to improve computational efficiency. Tools to evaluate the performance of the analysis at each step are also available.
Install/load the package from CRAN as follows:
install.packages("warbleR")
# load package
library(warbleR)
To install the latest developmental version from github you will need the R package remotes:
remotes::install_github("maRce10/warbleR")
# load package
library(warbleR)
The package includes several vignettes explaining its main features. The Intro to warbleR provides an overview of the package functionalities. The vignette Annotation data format gives a detailed description of the required format for input annotations. There are also three additional package vignettes with examples on how to organize functions in an acoustic analysis workflow.
A full description of the package (although a bit outdated) can be found in this journal article.
The packages seewave and tuneR provide a huge variety of functions for acoustic analysis and manipulation. They moslty works on wave objects already imported into the R environment. The package baRulho focuses on quantifying habitat-induced degradatio of acoustic signals with data inputs and ouputs similar to those of warbleR. The package Rraven facilitates the exchange of data between R and Raven sound analysis software (Cornell Lab of Ornithology) and can be very helpful for incorporating Raven as the annotating tool into acoustic analysis workflow in R. The package ohun works on automated detection of sound events, providing functions to diagnose and optimize detection routines. dynaSpec is allows to create dynamic spectrograms (i.e. spectrogram videos).
Please cite warbleR as follows:
Araya-Salas, M. and Smith-Vidaurre, G. (2017), warbleR: an r package to streamline analysis of animal acoustic signals. Methods Ecol Evol. 8, 184-191.
NOTE: please also cite the tuneR and seewave packages if you use any spectrogram-creating or acoustic-measuring functions