ropensci / barulho Goto Github PK
View Code? Open in Web Editor NEWAn R package to quantify habitat-induced degradation of (animal) acoustic signals
Home Page: https://ropensci.github.io/baRulho/
An R package to quantify habitat-induced degradation of (animal) acoustic signals
Home Page: https://ropensci.github.io/baRulho/
playback_est.R and playback_est-data.R, I think the former could be removed, since the latter shows up in the data documentation.
see progress in excess_attenuation()
Line 641: object 'W' not found
Line 642: object 'xa' not found
3 progress bar but message says there are only 2
allow users to run functions on data frames and (non-extended) selection tables
tail_to_signal_ratio and signal_to_noise_ratio measure start and end markers (and they shouldn't)
#These 2 got the same result
synth_est2 <- synth_sounds(
mar = 0.01, sig2 = 0.9,
frequencies = 2:4,
durations = c(0.1, 0.2),
fm = TRUE,
am = TRUE,
shuffle = TRUE,
seed = 123,
sampling.rate = 12
)
td <- tempdir()
# export in a single file
Rraven::exp_est(
X = synth_est2,
single.file = TRUE,
path = td,
file.name = "synth_sounds2.wav"
)
# plot spectro
seewave::spectro(
readWave(file.path(td, "synth_sounds2.wav"), from = 0, to = 3, units = "seconds"),
scale = FALSE,
palette = viridis,
grid = FALSE,
flim = c(0.5, 5.5),
collevels = seq(-20, 0, 1),
osc = TRUE, colwave = "#482878FF",
heights = c(2, 1),
wl = 140
)
synth_est2 <- synth_sounds(
mar = 0.01, sig2 = 0.9,
frequencies = 2:4,
durations = c(0.1, 0.2),
fm = TRUE,
am = TRUE,
shuffle = TRUE,
seed = 123,
sampling.rate = 12
)
seewave::spectro(
readWave(file.path(td, "synth_sounds2.wav"), from = 0, to = 3, units = "seconds"),
scale = FALSE,
palette = viridis,
grid = FALSE,
flim = c(0.5, 5.5),
collevels = seq(-20, 0, 1),
osc = TRUE, colwave = "#482878FF",
heights = c(2, 1),
wl = 140
)
replace sim_songs from warbleR when synthetizing sounds in the vignette with synth_sounds
message to remind user to include master sound files with re-recorded sound files for search_template()
atmospheric_attenuation is documented as requiring an extended selection table (EST) but then doesn't actually take one as input. If the function doesn't need an EST, then the function description and example code should be updated. If it does need an EST, then the function arguments should be updated (but the function code doesn't seem to require an EST...).
Spectrum_correlation and spectral_correlation, both are documented as separate functions but seem identical in documentation and purpose. Is this a case of alternative names?
On https://ropensci.r-universe.dev/builds#builds we see for instance
Error: 'try_na' is not an exported object from 'namespace:warbleR'
Quitting from lines 416-421 [unnamed-chunk-12] (align_test_sounds.Rmd)
Error: processing vignette 'align_test_sounds.Rmd' failed with diagnostics:
'try_na' is not an exported object from 'namespace:warbleR'
Since you maintain both packages you know more than me about the context and might even already be aware of that. ๐ธ
now is included in attenuation()
replace it with the analogous ohun function
error mesage if distance is not numeric for functions that compare with the shortest distance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.