powered by
Wrapper for 'soundecology' package to calculate acoustic complexity, the bioacoustic index, and acoustic diversity. See Value for details about these indices.
acoustic_indices( path, min_freq = NA, max_freq = NA, units = "samples", quiet = FALSE )
Returns a data frame with acoustic indices. Those prefaced with
complx_ are from soundecology::acoustic_complexity()
complx_
soundecology::acoustic_complexity()
bio_ are from soundecology::bioacoustic_index()
bio_
soundecology::bioacoustic_index()
div_ are from soundecology::acoustic_diversity()
div_
soundecology::acoustic_diversity()
Character. Path to wave file.
Numeric. Minimum frequency for acoustic complexity (see soundecology::acoustic_complexity())
Numeric. Maximum frequency for acoustic complexity (see soundecology::acoustic_complexity())
Character. Wave file units for reading the file. Defaults to "samples" (see tuneR::readWave()).
tuneR::readWave()
Logical. Whether to suppress progress messages and other non-essential updates.
w <- tuneR::sine(440, duration = 300000) # > 5s tuneR::writeWave(w, "test_wave.wav") acoustic_indices("test_wave.wav") acoustic_indices("test_wave.wav", quiet = TRUE) unlink("test_wave.wav")
Run the code above in your browser using DataLab