Code
#load package
library(ohun)
library(tuneR)
library(seewave)
library(warbleR)
May 17, 2025
Get familiar with concepts and data formatting practices related to automatic acoustic signals detection
Learn how to run automatic detection using the package ohun
ohun is intended to facilitate the automated detection of sound events, providing functions to diagnose and optimize detection routines. Detections from other software can also be explored and optimized.
The main features of the package are:
The package offers functions for:
All functions allow the parallelization of tasks, which distributes the tasks among several processors to improve computational efficiency. The package works on sound files in ‘.wav’, ‘.mp3’, ‘.flac’ and ‘.wac’ format.
To install the latest developmental version from github you will need the R package remotes:
Finding the position of sound events in a sound file is a challenging task. ohun offers two methods for automated sound event detection: template-based and energy-based detection. These methods are better suited for highly stereotyped or good signal-to-noise ratio (SNR) sounds, respectively. If the target sound events don’t fit these requirements, more elaborated methods (i.e. machine learning approaches) are warranted:
Still, a detection run using other software can be optimized with the tools provided in ohun.
Broadly speaking, signal detection theory deals with the process of recovering signals (i.e. target signals) from background noise (not necessarily acoustic noise) and it’s widely used for optimizing this decision making process in the presence of uncertainty. During a detection routine, the detected ‘items’ can be classified into 4 classes:
Several additional indices derived from these indices are used to evaluate the performance of a detection routine. These are three useful indices in the context of sound event detection included in ohun:
(Metrics that make use of ‘true negatives’ cannot be easily applied in the context of sound event detection as noise cannot always be partitioned in discrete units)
A perfect detection will have no false positives or false negatives, which will result in both recall and precision equal to 1. However, perfect detection cannot always be reached and some compromise between detecting all target signals plus some noise (recall = 1 & precision < 1) and detecting only target signals but not all of them (recall < 1 & precision = 1) is warranted. The right balance between these two extremes will be given by the relative costs of missing signals and mistaking noise for signals. Hence, these indices provide an useful framework for diagnosing and optimizing the performance of a detection routine.
The package ohun provides a set of tools to evaluate the performance of an sound event detection based on the indices described above. To accomplish this, the result of a detection routine is compared against a reference table containing the time position of all target sound events in the sound files. The package comes with an example reference table containing annotations of long-billed hermit hummingbird songs from two sound files (also supplied as example data: ‘lbh1’ and ‘lbh2’), which can be used to illustrate detection performance evaluation. The example data can be explored as follows:
sound.files | selec | start | end | bottom.freq | top.freq |
---|---|---|---|---|---|
lbh2.wav | 1 | 0.109161 | 0.2482449 | 2.2954 | 8.9382 |
lbh2.wav | 2 | 0.654921 | 0.7887232 | 2.2954 | 9.0426 |
lbh2.wav | 3 | 1.265850 | 1.3855678 | 2.2606 | 9.0774 |
lbh2.wav | 4 | 1.869705 | 2.0052678 | 2.1911 | 8.9035 |
lbh2.wav | 5 | 2.441769 | 2.5808529 | 2.1563 | 8.6600 |
lbh2.wav | 6 | 3.036825 | 3.1688667 | 2.2259 | 8.9382 |
lbh2.wav | 7 | 3.628617 | 3.7465742 | 2.3302 | 8.6252 |
lbh2.wav | 8 | 4.153288 | 4.2818085 | 2.2954 | 8.4861 |
lbh2.wav | 9 | 4.723673 | 4.8609963 | 2.3650 | 8.6948 |
lbh1.wav | 10 | 0.088118 | 0.2360047 | 1.9824 | 8.4861 |
lbh1.wav | 11 | 0.572290 | 0.7201767 | 2.0520 | 9.5295 |
lbh1.wav | 12 | 1.056417 | 1.1972614 | 2.0868 | 8.4861 |
lbh1.wav | 13 | 1.711338 | 1.8680274 | 1.9824 | 8.5905 |
lbh1.wav | 14 | 2.190249 | 2.3416568 | 2.0520 | 8.5209 |
lbh1.wav | 15 | 2.697143 | 2.8538324 | 1.9824 | 9.2513 |
lbh1.wav | 16 | 3.181315 | 3.3344833 | 1.9129 | 8.4861 |
lbh1.wav | 17 | 3.663719 | 3.8133662 | 1.8781 | 8.6948 |
lbh1.wav | 18 | 4.140816 | 4.3045477 | 1.8433 | 9.2165 |
lbh1.wav | 19 | 4.626712 | 4.7851620 | 1.8085 | 8.9035 |
All ohun functions that work with this kind of data can take both selection tables and data frames. Spectrograms with highlighted sound events from a selection table can be plotted with the function label_spectro()
(this function only plots one wave object at the time):
The function diagnose_detection()
evaluates the performance of a detection routine by comparing it to a reference table. For instance, a perfect detection is given by comparing lbh_reference
to itself:
detections | true.positives | false.positives | false.negatives | splits | merges | overlap | recall | precision | f.score |
---|---|---|---|---|---|---|---|---|---|
10 | 10 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |
We will work mostly with a single sound file for convenience but the functions can work on several sound files at the time. The files should be found in a single working directory. Although the above example is a bit silly, it shows the basic diagnostic indices, which include basic detection theory indices (‘true.positives’, ‘false.positives’, ‘false.negatives’, ‘recall’ and ‘precision’) mentioned above. We can play around with the reference table to see how these indices can be used to spot imperfect detection routines (and hopefully improve them!). For instance, we can remove some sound events to see how this is reflected in the diagnostics. Getting rid of some rows in ‘detection’, simulating a detection with some false negatives, will affect the recall but not the precision:
detections | true.positives | false.positives | false.negatives | splits | merges | overlap | recall | precision | f.score |
---|---|---|---|---|---|---|---|---|---|
7 | 7 | 0 | 3 | 0 | 0 | 1 | 0.7 | 1 | 0.8235294 |
Having some additional sound events not in reference will do the opposite, reducing precision but not recall. We can do this simply by switching the tables:
detections | true.positives | false.positives | false.negatives | splits | merges | overlap | recall | precision | f.score |
---|---|---|---|---|---|---|---|---|---|
10 | 7 | 3 | 0 | 0 | 0 | 1 | 1 | 0.7 | 0.8235294 |
The function offers three additional diagnose metrics:
In a perfect detection routine split and merged positives should be 0 while proportional overlap should be 1. We can shift the start of sound events a bit to reflect a detection in which there is some mismatch to the reference table regarding to the time location of sound events:
# create new table
lbh1_detection <- lbh1_reference
# add 'noise' to start
set.seed(18)
lbh1_detection$start <-
lbh1_detection$start + rnorm(nrow(lbh1_detection),
mean = 0, sd = 0.1)
## print spectrogram
label_spectro(
wave = lbh1,
reference = lbh1_reference,
detection = lbh1_detection,
hop.size = 10,
ovlp = 50,
flim = c(1, 10)
)
detections | true.positives | false.positives | false.negatives | splits | merges | overlap | recall | precision | f.score |
---|---|---|---|---|---|---|---|---|---|
10 | 5 | 5 | 5 | 0 | 0 | 0.7849767 | 0.5 | 0.5 | 0.5 |
In addition, the following diagnostics related to the duration of the sound events can also be returned by setting time.diagnostics = TRUE
. Here we tweak the reference and detection data just to have some false positives and false negatives:
detections | true.positives | false.positives | false.negatives | splits | merges | mean.duration.true.positives | mean.duration.false.positives | mean.duration.false.negatives | overlap | proportional.duration.true.positives | recall | precision | f.score |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9 | 5 | 4 | 4 | 0 | 0 | 187 | 58 | 149 | 0.7849767 | 1.194993 | 0.5555556 | 0.5555556 | 0.5555556 |
These additional metrics can be used to further filter out undesired sound events based on their duration (for instance in a energy-based detection as in energy_detector()
, explained below).
Diagnostics can also be detailed by sound file:
sound.files | detections | true.positives | false.positives | false.negatives | splits | merges | overlap | recall | precision | f.score |
---|---|---|---|---|---|---|---|---|---|---|
lbh1.wav | 10 | 5 | 5 | 5 | 0 | 0 | 0.7849767 | 0.5 | 0.5 | 0.5 |
These diagnostics can be summarized (as in the default diagnose_detection()
output) with the function summarize_diagnostic()
:
This detector uses amplitude envelopes to infer the position of sound events. Amplitude envelopes are representations of the variation in energy through time. The following code plots an amplitude envelope along with the spectrogram for the example data lbh1
:
This type of detector doesn’t require highly stereotyped sound events, although they work better on high quality recordings in which the amplitude of target sound events is higher than the background noise (i.e. high signal-to-noise ratio). The function energy_detector()
performs this type of detection.
We can understand how to use energy_detector()
using simulated sound events. We will do that using the function simulate_songs()
from warbleR. In this example we simulate a recording with 10 sounds with two different frequency ranges and durations:
# install this package first if not installed
# install.packages("Sim.DiffProc")
#Creating vector for duration
durs <- rep(c(0.3, 1), 5)
set.seed(123)
freqs <- sample(c(3, 6), 10, replace = TRUE)
#Creating simulated song
set.seed(12)
simulated_1 <-
warbleR::simulate_songs(
n = 10,
durs = durs,
freqs = freqs,
sig2 = 0.1,
gaps = 0.5,
harms = 1,
bgn = 0.1,
freq.range = 2,
path = tempdir(),
file.name = "simulated_1",
selec.table = TRUE,
shape = "cos",
fin = 0.3,
fout = 0.35,
samp.rate = 18
)$wave
The function call saves a ‘.wav’ sound file in a temporary directory (tempdir()
) and also returns a wave
object in the R environment. This outputs will be used to run energy-based detection and creating plots, respectively. This is how the spectrogram and amplitude envelope of the simulated recording look like:
Note that the amplitude envelope shows a high signal-to-noise ratio of the sound events, which is ideal for energy-based detection. This can be conducted using energy_detector()
as follows:
The output is a selection table:
sound.files | duration | selec | start | end |
---|---|---|---|---|
simulated_1.wav | 0.2325011 | 1 | 0.5313913 | 0.7638924 |
simulated_1.wav | 0.7943370 | 2 | 1.3954509 | 2.1897879 |
simulated_1.wav | 0.2331677 | 3 | 2.8307909 | 3.0639586 |
simulated_1.wav | 0.7942259 | 4 | 3.6956838 | 4.4899097 |
simulated_1.wav | 0.2330011 | 5 | 5.1310238 | 5.3640248 |
simulated_1.wav | 0.7942259 | 6 | 5.9956944 | 6.7899203 |
simulated_1.wav | 0.2331122 | 7 | 7.4308677 | 7.6639799 |
simulated_1.wav | 0.7943926 | 8 | 8.2956495 | 9.0900421 |
simulated_1.wav | 0.2333900 | 9 | 9.7308228 | 9.9642128 |
simulated_1.wav | 0.7940592 | 10 | 10.5957713 | 11.3898305 |
Now we will make use of some additional arguments to filter out specific sound events based on their structural features. For instance we can use the argument min.duration
to provide a time threshold (in ms) to exclude short sound events and keep only the longest sound events:
We can use the argument max.duration
(also in ms) to exclude long sound events and keep the short ones:
We can also focus the detection on specific frequency ranges using the argument bp
(bandpass). By setting bp = c(5, 8)
only those sound events found within that frequency range (5-8 kHz) will be detected, which excludes sound events below 5 kHz:
Exercise
Amplitude modulation (variation in amplitude across a sound event) can be problematic for detection based on amplitude envelopes. We can also simulate some amplitude modulation using warbleR::simulate_songs()
:
#Creating simulated song
set.seed(12)
#Creating vector for duration
durs <- rep(c(0.3, 1), 5)
sim_2 <-
simulate_songs(
n = 10,
durs = durs,
freqs = freqs,
sig2 = 0.1,
gaps = 0.5,
harms = 1,
bgn = 0.1,
freq.range = 2,
path = tempdir(),
file.name = "simulated_2",
selec.table = TRUE,
shape = "cos",
fin = 0.3,
fout = 0.35,
am.amps = c(1, 2, 3, 2, 0.1, 2, 3, 3, 2, 1),
samp.rate = 18
)
# extract wave object and selection table
simulated_2 <- sim_2$wave
sim2_sel_table <- sim_2$selec.table
# plot spectrogram
label_spectro(wave = simulated_2,
envelope = TRUE)
When sound events have strong amplitude modulation they can be split during detection:
There are two arguments that can deal with this: holdtime
and smooth
. hold.time
allows to merge split sound events that are found within a given time range (in ms). This time range should be high enough to merge things belonging to the same sound event but not too high so it merges different sound events. For this example a hold.time
of 200 ms can do the trick (we know gaps between sound events are ~0.5 s long):
smooth
works by merging the amplitude envelope ‘hills’ of the split sound events themselves. It smooths envelopes by applying a sliding window averaging of amplitude values. It’s given in ms of the window size. A smooth
of 350 ms can merged back split sound events from our example:
The function has some additional arguments for further filtering detections (peak.amplitude
) and speeding up analysis (thinning
and parallel
).
This last example using smooth
can be used to showcase how the tunning parameters can be optimized. As explained above, to do this we need a reference table that contains the time position of the target sound events. The function optimize_energy_detector()
can be used finding the optimal parameter values. We must provide the range of parameter values that will be evaluated:
6 combinations will be evaluated:
threshold | peak.amplitude | smooth | hold.time | min.duration | max.duration | thinning | detections | true.positives | false.positives | false.negatives | splits | merges | mean.duration.true.positives | mean.duration.false.positives | mean.duration.false.negatives | overlap | proportional.duration.true.positives | duty.cycle | recall | precision | f.score |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
50 | 0 | 100 | 0 | 1 | Inf | 1 | 20 | 0 | 20 | 10 | 0 | 0 | NA | 208 | 650 | NA | NA | 0.3461312 | 0.0 | 0.0000000 | NA |
60 | 0 | 100 | 0 | 1 | Inf | 1 | 20 | 0 | 20 | 10 | 0 | 0 | NA | 173 | 650 | NA | NA | 0.2878208 | 0.0 | 0.0000000 | NA |
50 | 0 | 250 | 0 | 1 | Inf | 1 | 15 | 5 | 10 | 5 | 0 | 0 | 151 | 331 | 1000 | 0.5027431 | 0.5027431 | 0.3388581 | 0.5 | 0.3333333 | 0.4 |
60 | 0 | 250 | 0 | 1 | Inf | 1 | 15 | 0 | 15 | 10 | 0 | 0 | NA | 220 | 650 | NA | NA | 0.2745707 | 0.0 | 0.0000000 | NA |
50 | 0 | 350 | 0 | 1 | Inf | 1 | 10 | 10 | 0 | 0 | 0 | 0 | 510 | NA | NA | 0.7228663 | 0.7845165 | 0.4249464 | 1.0 | 1.0000000 | 1.0 |
60 | 0 | 350 | 0 | 1 | Inf | 1 | 15 | 0 | 15 | 10 | 0 | 0 | NA | 266 | 650 | NA | NA | 0.3329414 | 0.0 | 0.0000000 | NA |
The output contains the combination of parameters used at each iteration as well as the corresponding diagnose indices. In this case all combinations generate a good detection (recall & precision = 1). However, only the routine with the highest smooth
(last row) has no split sound events (‘split.positive’ column). It also shows a better overlap to the reference sound events (‘overlap.to.true.positives’ closer to 1).
In addition, there are two complementary functions for optimizing energy-based detection routines: feature_reference()
and merge_overlaps()
. feature_reference()
allow user to get a sense of the time and frequency characteristics of a reference table. This information can be used to determine the range of tuning parameter values during optimization. This is the output of the function applied to lbh_reference
:
min mean max
sel.duration 117.96 142.60 163.73
gap.duration 322.16 396.43 514.08
annotations 9.00 9.50 10.00
duty.cycle 0.24 0.27 0.31
peak.amplitude 73.76 81.58 88.03
bottom.freq 1.81 2.11 2.37
top.freq 8.49 8.82 9.53
Features related to selection duration can be used to set the ‘max.duration’ and ‘min.duration’ values, frequency related features can inform banpass values, gap related features inform hold time values and duty cycle can be used to evaluate performance. Peak amplitude can be used to keep only those sound events with the highest intensity, mostly useful for routines in which only a subset of the target sound events present in the recordings is needed.
merge_overlaps()
finds time-overlapping selections in reference tables and collapses them into a single selection. Overlapping selections would more likely appear as a single amplitude ‘hill’ and thus would be detected as a single sound event. So merge_overlaps()
can be useful to prepare references in a format representing a more realistic expectation of how a pefect energy detection routine would look like.
This detection method is better suited for highly stereotyped sound events. As it doesn’t depend on the signal-to-noise ratio it’s more robust to higher levels of background noise. The procedure is divided in three steps:
get_templates()
)template_correlator()
)template_detector()
)The function get_templates()
can help you find a template closer to the average acoustic structure of the sound events in a reference table. This is done by finding the sound events closer to the centroid of the acoustic space. When the acoustic space is not supplied (‘acoustic.space’ argument) the function estimates it by measuring several acoustic parameters using the function spectro_analysis()
from warbleR
) and summarizing it with Principal Component Analysis (after z-transforming parameters). If only 1 template is required the function returns the sound event closest to the acoustic space centroid. The rationale here is that a sound event closest to the average sound event structure is more likely to share structural features with most sounds across the acoustic space than a sound event in the periphery of the space. These ‘mean structure’ templates can be obtained as follows:
The graph above shows the overall acoustic spaces, in which the sound closest to the space centroid is highlighted. The highlighted sound is selected as the template and can be used to detect similar sound events. The function get_templates()
can also select several templates. This can be helpful when working with sounds that are just moderately stereotyped. This is done by dividing the acoustic space into sub-spaces defined as equal-size slices of a circle centered at the centroid of the acoustic space:
We will use the single template object (‘template’) to run a detection on the example ‘lbh1’ data:
The output is an object of class ‘template_correlations’, with its own printing method:
This object can then be used to detect sound events using template_detector()
:
sound.files | selec | start | end | template | scores |
---|---|---|---|---|---|
lbh1.wav | 1 | 0.0930861 | 0.2409728 | lbh1.wav-10 | 0.7403445 |
lbh1.wav | 2 | 0.5701524 | 0.7180391 | lbh1.wav-10 | 0.8299750 |
lbh1.wav | 3 | 1.0588545 | 1.2067411 | lbh1.wav-10 | 0.7687707 |
lbh1.wav | 4 | 1.7104572 | 1.8583439 | lbh1.wav-10 | 0.7234200 |
lbh1.wav | 5 | 2.1991593 | 2.3470459 | lbh1.wav-10 | 0.6378319 |
lbh1.wav | 6 | 2.6994971 | 2.8473838 | lbh1.wav-10 | 0.6768220 |
lbh1.wav | 7 | 3.1881992 | 3.3360858 | lbh1.wav-10 | 0.6678598 |
lbh1.wav | 8 | 3.6769012 | 3.8247879 | lbh1.wav-10 | 0.7113740 |
lbh1.wav | 9 | 4.1539675 | 4.3018542 | lbh1.wav-10 | 0.7484615 |
lbh1.wav | 10 | 4.6310338 | 4.7789205 | lbh1.wav-10 | 0.6116435 |
The output can be explored by plotting the spectrogram along with the detection and correlation scores:
The performance can be evaluated using diagnose_detection()
:
detections | true.positives | false.positives | false.negatives | splits | merges | overlap | recall | precision | f.score |
---|---|---|---|---|---|---|---|---|---|
10 | 10 | 0 | 0 | 0 | 0 | 0.9241771 | 1 | 1 | 1 |
The function optimize_template_detector()
allows to evaluate the performance under different correlation thresholds:
5 thresholds will be evaluated:
threshold | templates | detections | true.positives | false.positives | false.negatives | splits | merges | overlap | recall | precision | f.score |
---|---|---|---|---|---|---|---|---|---|---|---|
0.1 | lbh1.wav-10 | 89 | 10 | 79 | 0 | 15 | 0 | 0.9241771 | 1 | 0.1123596 | 0.2020202 |
0.2 | lbh1.wav-10 | 54 | 10 | 44 | 0 | 15 | 0 | 0.9241771 | 1 | 0.1851852 | 0.3125000 |
0.3 | lbh1.wav-10 | 17 | 10 | 7 | 0 | 6 | 0 | 0.9241771 | 1 | 0.5882353 | 0.7407407 |
0.4 | lbh1.wav-10 | 10 | 10 | 0 | 0 | 0 | 0 | 0.9241771 | 1 | 1.0000000 | 1.0000000 |
0.5 | lbh1.wav-10 | 10 | 10 | 0 | 0 | 0 | 0 | 0.9241771 | 1 | 1.0000000 | 1.0000000 |
Additional threshold values can be evaluated without having to run it all over again. We just need to supplied the output from the previous run with the argument previous.output
(the same trick can be done when optimizing an energy-based detection):
2 thresholds will be evaluated:
threshold | templates | detections | true.positives | false.positives | false.negatives | splits | merges | overlap | recall | precision | f.score |
---|---|---|---|---|---|---|---|---|---|---|---|
0.1 | lbh1.wav-10 | 89 | 10 | 79 | 0 | 15 | 0 | 0.9241771 | 1.0 | 0.1123596 | 0.2020202 |
0.2 | lbh1.wav-10 | 54 | 10 | 44 | 0 | 15 | 0 | 0.9241771 | 1.0 | 0.1851852 | 0.3125000 |
0.3 | lbh1.wav-10 | 17 | 10 | 7 | 0 | 6 | 0 | 0.9241771 | 1.0 | 0.5882353 | 0.7407407 |
0.4 | lbh1.wav-10 | 10 | 10 | 0 | 0 | 0 | 0 | 0.9241771 | 1.0 | 1.0000000 | 1.0000000 |
0.5 | lbh1.wav-10 | 10 | 10 | 0 | 0 | 0 | 0 | 0.9241771 | 1.0 | 1.0000000 | 1.0000000 |
0.6 | lbh1.wav-10 | 10 | 10 | 0 | 0 | 0 | 0 | 0.9241771 | 1.0 | 1.0000000 | 1.0000000 |
0.7 | lbh1.wav-10 | 6 | 6 | 0 | 4 | 0 | 0 | 0.9184415 | 0.6 | 1.0000000 | 0.7500000 |
In this case several threshold values can achieved an optimal detection.
Several templates can be used within the same call. Here we correlate two templates on the two example sound files, taking one template from each sound file:
# get correlations
correlations <-
template_correlator(
templates = lbh_reference[c(1, 10),],
files = c("lbh1.wav", "lbh2.wav"),
path = tempdir()
)
# run detection
detection <-
template_detector(
template.correlations = correlations,
threshold = 0.5)
correlations <-
template_correlator(
templates = lbh_reference[c(1, 10),],
files = c("lbh1.wav", "lbh2.wav"),
path = tempdir()
)
Note that in these cases we can get the same sound event detected several times (duplicates), one by each template. We can check if that is the case just by diagnosing the detection:
detections | true.positives | false.positives | false.negatives | splits | merges | overlap | recall | precision | f.score |
---|---|---|---|---|---|---|---|---|---|
23 | 19 | 4 | 0 | 8 | 0 | 0.9066991 | 1 | 0.826087 | 0.9047619 |
Duplicates are shown as split positives. Fortunately, we can leave a single detected sound event by leaving only those with the highest correlation. To do this we first need to label each row in the detection using label_detection()
and then remove duplicates using filter_detection()
:
This function adds a column (‘detection.class’) with the class label for each row:
false.positive (split) true.positive true.positive (split)
4 15 4
Now we can filter out duplicates and diagnose the detection again, telling the function to select a single row per duplicate using the correlation score as a criterium (by = "scores"
, this column is part of the template_detector()
output):
detections | true.positives | false.positives | false.negatives | splits | merges | overlap | recall | precision | f.score |
---|---|---|---|---|---|---|---|---|---|
23 | 19 | 4 | 0 | 8 | 0 | 0.9066991 | 1 | 0.826087 | 0.9047619 |
We successfully get rid of duplicates and detected every single target sound event.
Detection routines can take a long time when working with large amounts of acoustic data (e.g. large sound files and/or many sound files). These are some useful points to keep in mine when trying to make a routine more time-efficient:
template_detector()
is faster than energy_detector()
parallel
argument in most functions) can significantly speed-up routines, but works better on Unix-based operating systems (linux and mac OS)fix_sound_files()
)split_acoustic_data()
to split both reference tables and files into shorter clips.thinning
argument (which reduces the size of the amplitude envelope) can also speed-up energy_detector()
Please cite ohun like this:
Araya-Salas, M. (2021), ohun: diagnosing and optimizing automated sound event detection. R package version 0.1.0.
Session information
R version 4.3.2 (2023-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 22.04.2 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8
[4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
time zone: America/Costa_Rica
tzcode source: system (glibc)
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] warbleR_1.1.34 NatureSounds_1.0.5 knitr_1.50 seewave_2.2.3
[5] tuneR_1.4.7 ohun_1.0.2
loaded via a namespace (and not attached):
[1] gtable_0.3.6 rjson_0.2.23 xfun_0.51 ggplot2_3.5.1
[5] htmlwidgets_1.6.4 vctrs_0.6.5 tools_4.3.2 bitops_1.0-9
[9] generics_0.1.3 curl_6.2.2 parallel_4.3.2 tibble_3.2.1
[13] proxy_0.4-27 pkgconfig_2.0.3 KernSmooth_2.23-20 checkmate_2.3.2
[17] lifecycle_1.0.4 compiler_4.3.2 brio_1.1.5 munsell_0.5.1
[21] codetools_0.2-18 htmltools_0.5.8.1 class_7.3-20 RCurl_1.98-1.17
[25] yaml_2.3.10 pillar_1.10.1 MASS_7.3-55 classInt_0.4-11
[29] iterators_1.0.14 viridis_0.6.5 foreach_1.5.2 Deriv_4.1.6
[33] tidyselect_1.2.1 digest_0.6.37 sf_1.0-20 dplyr_1.1.4
[37] fastmap_1.2.0 grid_4.3.2 colorspace_2.1-1 cli_3.6.4
[41] magrittr_2.0.3 e1071_1.7-16 scales_1.3.0 backports_1.5.0
[45] shinyBS_0.61.1 rmarkdown_2.28 httr_1.4.7 Sim.DiffProc_4.9
[49] signal_1.8-1 igraph_2.1.4 gridExtra_2.3 pbapply_1.7-2
[53] evaluate_1.0.3 dtw_1.23-1 fftw_1.0-9 testthat_3.2.3
[57] viridisLite_0.4.2 rlang_1.1.5 Rcpp_1.0.14 glue_1.8.0
[61] DBI_1.2.3 rstudioapi_0.16.0 jsonlite_2.0.0 R6_2.6.1
[65] soundgen_2.6.2 units_0.8-7