Potential issues of the 'spectral parameters/PCA' approach

Somehow measuring a bunch of spectral/temporal parameters and then reducing its dimensionality using principal component analysis has become the standard procedure when looking at variation in signal structure (i.e. measuring acoustic space), particularly in behavioral ecology and comparative bioacoustics. In most cases the approach is used without any kind of ground-truthing that can help validate the analysis. Given the complexity of animal acoustic signals, the approach could miss key signal features. [Read More]

Song similarity using dynamic time warping

Here I show how to use the dfDTW function in warbleR to compare acoustics signals using dynamic time warping (DTW). First load these packages (if not installed the code will install it): x<-c("vegan", "warbleR") A <- lapply(x, function(y) { if(!y %in% installed.packages()[,"Package"]) install.packages(y) require(y, character.only = T) }) and load example data from warbleR # optional, save it in a temporal folder # setwd(tempdir()) data(list = c( "Phae.long1", "Phae.long2","Phae.long3", "Phae.long4","selec.table")) writeWave(Phae. [Read More]