In [1]:
library('tuneR')
library('seewave')
library('soundecology')
In [2]:
exists("sound")
Out[2]:
In [2]:
sound <- readWave("/Users/Jake/Desktop/test/160224-160000.wav")
In [4]:
exists("sound")
Out[4]:
In [5]:
remove("sound")
In [6]:
exists("sound")
Out[6]:
In [ ]:
In [13]:
if (!(exists("sound"))) { sound <- readWave("/Users/Jake/Desktop/test/160224-160000.wav") }
In [3]:
results <- acoustic_evenness(sound, max_freq = 12000, db_threshold = -50, freq_step = 1000)
In [7]:
results$aei_left
Out[7]:
In [9]:
results <- acoustic_complexity(sound, min_freq = NA, max_freq = NA, j = 5, fft_w = 512)
In [11]:
results$AciTotAll_right_bymin
Out[11]:
In [12]:
results <- bioacoustic_index(sound, min_freq = 2000, max_freq = 8000, fft_w = 512)
In [13]:
results
Out[13]:
In [14]:
results$left_area
Out[14]:
In [15]:
results <- ndsi(sound, fft_w = 1024, anthro_min = 1000, anthro_max = 2000, bio_min = 2000, bio_max = 11000)
In [16]:
results
Out[16]:
In [17]:
results$biophony_left
Out[17]:
In [4]:
results <- soundscapespec(sound, wl = 1024, wn = "hamming", ovlp = 50, plot = TRUE, xlab = "Frequency (kHz)", ylim = c(0, 1))
In [3]:
results <- soundscapespec(sound, wl = 1024, wn = "hamming", ovlp = 50, plot = FALSE)
In [6]:
results
Out[6]: