Skip to contents

Normalized Difference Soundscape Index (NDSI) from REAL and Kasten, et al. 2012. The NDSI seeks to "estimate the level of anthropogenic disturbance on the soundscape by computing the ratio of human-generated (anthrophony) to biological (biophony) acoustic components found in field collected sound samples" (Kasten, et al. 2012).

Usage

ndsi(
  wave,
  w.len = 512,
  anthro.min = 1000,
  anthro.max = 2000,
  bio.min = 2000,
  bio.max = 11000,
  rm.offset = TRUE
)

Arguments

wave

an object of class Wave imported with the readWave function of the tuneR package.

w.len

numeric. The window length for the FFT (sampling rate / frequency resolution).

anthro.min

minimum value of the range of frequencies of the anthrophony.

anthro.max

maximum value of the range of frequencies of the anthrophony.

bio.min

minimum value of the range of frequencies of the biophony.

bio.max

maximum value of the range of frequencies of the biophony.

rm.offset

logical. Whether to remove the DC offset.

Value

a wide format tibble with NDSI values per channel (if stereo), parameters used and audio metadata

Examples

ndsi(tropicalsound)
#> Error: object 'tropicalsound' not found