Description Usage Arguments Value Examples
View source: R/findSyllables.R
Find "syllables" (discrete acoustic events) in animal sounds
1 2 3 4 5 6 7 8 9 10 11 12 13 | findSyllables(
files,
low = 1000,
high = 22000,
plotSyllables = FALSE,
samplingRate = NULL,
shortestPause = 25,
shortestSyl = 10,
plot = FALSE,
sylThres = 0.5,
windowLength = 20,
overlap = 80
)
|
files |
A vector of wave files |
low |
lower frequency for filter |
high |
lower frequency for filter |
plotSyllables |
logical, should the spectrogram with the syllables be plotted? |
samplingRate |
Sampling rate |
shortestPause |
Smallest separation between syllables |
shortestSyl |
Shortest event that cam be considered a syllables |
plot |
should plot syllables according to soundgen? |
sylThres |
percentage of mean amplitude envelope for audio event. Syllables are only detected when above this threshold |
windowLength |
window size for audio events |
overlap |
overlap between windows |
Dataframe with following collumns: "sound.files" : original file from wich syllables were extracted, "selec" : syllable id, unique inside the sound.file, but not between files, "start" : syllable start, "end" : syllable end
1 2 3 4 5 | ## Not run:
songs = findSyllables(plotSyllables = F,dir(here::here("inst/extdata"),
full.names = TRUE,include.dirs = T), samplingRate = 44100)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.