Quantifying (Animal) Sound Degradation
Overview
Intended to facilitate acoustic analysis of (animal) sound propagation experiments, which typically aim to quantify changes in signal structure when transmitted in a given habitat by broadcasting and re-recording animal sounds at increasing distances. The package offers a workflow with functions to prepare the data set for analysis as well as to calculate and visualize several degradation metrics, including blur ratio, signal-to-noise ratio, excess attenuation and envelope correlation among others (Dabelsteen et al 1993 doi:10.1121/1.406682).
MINOR IMPROVEMENTS
- Fix bug in
spcc()in which thecor.methodargument was ignored (always computed Pearson correlation) - Fix bug in
tail_to_signal_ratio()that used the wrong dB scale (natural log instead of20 * log10(), inconsistent withsignal_to_noise_ratio()andexcess_attenuation()) - Fix bug in
envelope_correlation()'s internal sliding-window search that never actually slid across candidate alignments - Fix bug in
plot_degradation()andauto_realign()in which an internal dispatch issue caused some of their own argument validation checks to be silently skipped - Fix bug in
synth_sounds()that crashed when called with a single frequency and a single duration - Fix bug in
detection_distance()in which thewlargument was not reaching the internal peak-frequency calculation - Fix misspelled output column
atmopheric.attenuationinattenuation()(nowatmospheric.attenuation) - Fix several smaller documentation inconsistencies (incorrect argument defaults, mislocated columns, stale formulas)
- Reformat all exported function documentation using markdown roxygen for a more consistent and readable reference site
- Vignettes now pull their citation directly from
inst/CITATIONinstead of hardcoded text, and no longer describe a stale version of the example data set
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 26 (1 internal)includes a package overview page
- Examples that run
- 83%19 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 3 never run
- Exported functions with examples
- 100%
- Documented parameters
- 86%
- Return-value docs
- 100%
- Help pages citing references
- 88%
Downloads
Repository
- PRs merged (all time)
- 80%
- Median days to close, 50 most recently updated closed issues
- 37
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
12 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/ropensci/barulho on 2026-10-25.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-13 · The repository has a site deploy workflow
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-10-08Commits: at least 7 crediting it in the message
- Claude Sonnet 57 commits · Oct 2026
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- unarchivedReturned to CRAN2026-10-09
- 2.2.0Latest
- archivedRemoved from CRAN2026-08-22issues were not corrected in time
- 2.1.72026-07-24 · diff ↗
- RR 4.6.0 released · 2026-04-24
- unarchivedReturned to CRAN2025-10-24
- 2.1.62025-10-24 · diff ↗
- archivedRemoved from CRAN2025-07-31requires archived package 'warbleR',
- 2.1.5
- RR 4.5.0 released · 2025-04-11
- 2.1.32025-01-25 · diff ↗
- unarchivedReturned to CRAN2024-08-31
- 2.1.22024-08-31 · diff ↗
- archivedRemoved from CRAN2024-05-10issues were not corrected in time
- RR 4.4.0 released · 2024-04-24
- 2.1.02024-04-21 · diff ↗ ·
removed 5 exports
atmospheric_attenuation, search_templates, spcc_align, spectral_blur_ratio, spectral_correlationadded 13 exports
add_noise, attenuation, auto_realign, detection_distance, find_markers, manual_realign, plot_aligned_sounds, plot_blur_ratio, plot_degradation, set_reference_sounds, spectrum_blur_ratio, spectrum_correlation, synth_sounds
Show 18 earlier eventsHide 18 earlier events
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- unarchivedReturned to CRAN2022-03-01
- 1.0.6
- archivedRemoved from CRAN2022-02-23check problems were not corrected in time
- RR 4.1.0 released · 2021-05-18
- 1.0.52021-04-21 · diff ↗
- unarchivedReturned to CRAN2021-03-10
- 1.0.42021-03-10 · diff ↗
- archivedRemoved from CRAN2021-02-12requires archived package 'warbleR'
- unarchivedReturned to CRAN2021-02-11
- 1.0.32021-02-11 · diff ↗
- archivedRemoved from CRAN2021-01-20requires archived package 'warbleR'
- 1.0.2
- RR 4.0.0 released · 2020-04-24
- 1.0.1
- 1.0.02020-02-22
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-02-22
- Total releases
- 14 / 6 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.2.1
- Bundled data
- 534 KB / 2 files
- Download size
- 4.5 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("baRulho")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1111/2041-210x.14481.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.