dynamic.spectro

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. Take 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.

Posts:

Tracking frequency contours when dominant frequency jumps across harmonics

When tracking dominant frequency in order to obtain a frequency contour most algorithms rely on getting the highest amplitude frequency (i.e. dominant frequency) at each time window. This method, however, can be problematic when the highest amplitude is found at different harmonics in different time windows. Here, I demonstrate how... [Read More]

Simulating animal vocalizations

This post shows how to simulate animal vocalizations using the new warbleR function sim_songs. The function allows users to create song with several sub-units and harmonics, which are return as a wave object in the R environment. This can have several applications, from simulating song evolution to testing the efficacy... [Read More]

Rraven: Connecting R and Raven Sound Analysis Software

The Rraven package is designed to facilitate the exchange of data between R and Raven sound analysis software (Cornell Lab of Ornithology). Raven provides very powerful tools for the analysis of (animal) sounds. R can simplify the automatization of complex routines of analyses. Furthermore, R packages as warbleR, seewave and... [Read More]

Fixing selections manually

This short post shows how to use the seltailor function to adjust selection frequency and time ‘coordinates’ in an interactive and iterative manner. [Read More]