The advantage of R over most common sound analysis software (e.g. Raven, SAP, Avisoft) is its higher flexibility, which allows the implementation of custom made analyses that better fit the research questions and the characteristics of the vocalizations. However, this requires some proficiency in R coding that may dissuade beginners. Hopefully the codes I make available here will encourage bioacousticians to take advantage of this powerful tool.

Most of the tools I have developed for acoustic analysis are now available in the package warbleR. I will also post R scripts to detail the usage of new addtions to this package. Check out the article describing warbleR. Please cite this paper when using any of the package functions.

Sound analysis in R has been made possible owing to the awesome package seewave. I recommend taking a look at seewave’s website to learn more about its different tools. I will also post code containing functions from the packages monitoR and tuneR.


Acoustic space scatter plot

Some people have asked for the code we used to make figure 3 in the Methods in Ecology and Evolution paper describing warbleR. So, here it is. The figure was made in part by my collaborator Grace Smith-Vidaurre, so thanks to Grace for sharing. [Read More]

Creating song catalogs

When looking at geographic variation of songs we usually want to compare the spectrograms from different individuals and sites. This can be challenging when working with large numbers of signals, individuals and/or sites. The new warbleR function catalog aims to simplify this task. [Read More]

Choosing the right method for measuring acoustic signal structure

Bioacoustic research relies on quantifying the structure of acoustic signals and comparing that structure across behavioral/ecological contexts, groups or species. However, measuring signal structure in a way that fully accounts for the variation in the signals could be a tricky task. Some of the differences that are apparent by visual... [Read More]

Pdf files with spectrograms of full recordings

The warbleR function lspec produces image files with spectrograms of whole recordings split into multiple rows. For a long recording several image files will be produced, which could be inconvenient when dealing with many long recordings. I recently added a new function lspec2pdf that combines lspec images in .jpeg format... [Read More]