Giter VIP home page Giter VIP logo

barulho's Issues

Potential duplicate data files

playback_est.R and playback_est-data.R, I think the former could be removed, since the latter shows up in the data documentation.

Vignette bugs

Line 641: object 'W' not found

Line 642: object 'xa' not found

sig2 not working in synth_sounds()

#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
)

atmospheric_attenuation inputs

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...).

Potential duplicate code files

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?

baRulho still uses deprecated functions from warbleR

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. ๐Ÿ˜ธ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.