data(sheep) specs <- dynspec(sheep, f=8000, plot= FALSE)$amp out <- apply(specs, f=8000, MARGIN=2, FUN = fbands, bands = 20, col = "orange", ylim=c(0,max(specs)))