{
  "_id": "69e06c73c5259ad4cd8fb1be",
  "Package": "baRulho",
  "Type": "Package",
  "Title": "Quantifying (Animal) Sound Degradation",
  "Version": "2.1.7",
  "Maintainer": "Marcelo Araya-Salas <marcelo.araya@ucr.ac.cr>",
  "Description": "Intended to facilitate acoustic analysis of (animal) sound\npropagation experiments, which typically aim to quantify\nchanges in signal structure when transmitted in a given habitat\nby broadcasting and re-recording animal sounds at increasing\ndistances. The package offers a workflow with functions to\nprepare the data set for analysis as well as to calculate and\nvisualize several degradation metrics, including blur ratio,\nsignal-to-noise ratio, excess attenuation and envelope\ncorrelation among others (Dabelsteen et al 1993\n<doi:10.1121/1.406682>).",
  "License": "GPL (>= 2)",
  "LazyData": "TRUE",
  "URL": "https://github.com/ropensci/baRulho,\nhttps://docs.ropensci.org/baRulho/",
  "BugReports": "https://github.com/ropensci/baRulho/issues",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "Language": "en-US",
  "Authors@R": "c(person(\"Marcelo\", \"Araya-Salas\",\nrole = c(\"aut\", \"cre\"),\nemail = \"marcelo.araya@ucr.ac.cr\",\ncomment = c(ORCID = \"0000-0003-3594-619X\")),\nperson(given = \"Michael\",\nfamily = \"Mahoney\",\nrole = \"rev\",\nemail = \"mike.mahoney.218@gmail.com\",\ncomment = c(ORCID = \"0000-0003-2402-304X\")),\nperson(given = \"Dena\",\nfamily = \"Clink\",\nrole = \"rev\",\nemail = \"dena.clink@cornell.edu\",\ncomment = c(ORCID = \"0000-0003-0363-5581\")))",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "libabsl-dev cmake libfftw3-dev libgdal-dev gdal-bin\nlibgeos-dev libglpk-dev make libicu-dev libpng-dev\nlibsndfile1-dev libuv1-dev libxml2-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2025-10-31 17:59:30 UTC",
  "RemoteUrl": "https://github.com/ropensci/baRulho",
  "RemoteRef": "master",
  "RemoteSha": "50242c3fa0e2efd940362d844a666cfa95858211",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-04-15 07:49:33 UTC",
    "User": "root"
  },
  "Author": "Marcelo Araya-Salas [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3594-619X>),\nMichael Mahoney [rev] (ORCID: <https://orcid.org/0000-0003-2402-304X>),\nDena Clink [rev] (ORCID: <https://orcid.org/0000-0003-0363-5581>)",
  "MD5sum": "c43588de0edff072345f42601593d9f9",
  "_user": "ropensci",
  "_type": "src",
  "_file": "baRulho_2.1.7.tar.gz",
  "_fileid": "98ccc26b808cc71ff7515590fbbf4765c41d32e653dd9c04e52f41505059f522",
  "_filesize": 4534942,
  "_sha256": "98ccc26b808cc71ff7515590fbbf4765c41d32e653dd9c04e52f41505059f522",
  "_created": "2026-04-15T07:49:33.000Z",
  "_published": "2026-04-16T04:58:27.799Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 71579470795,
      "time": 210,
      "config": "linux-devel-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6445564845"
    },
    {
      "job": 71579470825,
      "time": 197,
      "config": "linux-release-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6445561376"
    },
    {
      "job": 71579470561,
      "time": 126,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6466258627"
    },
    {
      "job": 71579470836,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6445541689"
    },
    {
      "job": 71579470396,
      "time": 259,
      "config": "pkgdown",
      "r": "4.5.2",
      "check": "OK",
      "artifact": "6445510777"
    },
    {
      "job": 71579470522,
      "time": 249,
      "config": "source",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6445509060"
    },
    {
      "job": 71579470648,
      "time": 174,
      "config": "wasm-release",
      "r": "4.5.1",
      "check": "OK",
      "artifact": "6445555658"
    },
    {
      "job": 71579470707,
      "time": 142,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6445547081"
    },
    {
      "job": 71579470943,
      "time": 135,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6445545854"
    },
    {
      "job": 71579470982,
      "time": 137,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6445545948"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442673177",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ropensci/baRulho",
  "_commit": {
    "id": "50242c3fa0e2efd940362d844a666cfa95858211",
    "author": "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>",
    "committer": "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>",
    "message": "Update CITATION.cff\n",
    "time": 1761933570
  },
  "_maintainer": {
    "name": "Marcelo Araya-Salas",
    "email": "marcelo.araya@ucr.ac.cr",
    "login": "marce10",
    "uuid": 13245502,
    "orcid": "0000-0003-3594-619X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.1",
      "role": "Depends"
    },
    {
      "package": "warbleR",
      "version": ">= 1.1.32",
      "role": "Depends"
    },
    {
      "package": "ohun",
      "version": ">= 1.0.2",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "seewave",
      "role": "Imports"
    },
    {
      "package": "tuneR",
      "role": "Imports"
    },
    {
      "package": "fftw",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "viridis",
      "role": "Imports"
    },
    {
      "package": "Sim.DiffProc",
      "role": "Imports"
    },
    {
      "package": "png",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "formatR",
      "role": "Suggests"
    },
    {
      "package": "Rraven",
      "role": "Suggests"
    },
    {
      "package": "monitoR",
      "role": "Suggests"
    }
  ],
  "_owner": "ropensci",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-17",
      "n": 2
    },
    {
      "week": "2025-23",
      "n": 1
    },
    {
      "week": "2025-24",
      "n": 2
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 5
    }
  ],
  "_tags": [],
  "_topics": [
    "acoustic-signals",
    "animal",
    "behavior",
    "bioacoustics"
  ],
  "_stars": 10,
  "_contributors": [
    {
      "user": "marce10",
      "count": 257,
      "uuid": 13245502
    },
    {
      "user": "adamhsparks",
      "count": 8,
      "uuid": 3195906
    },
    {
      "user": "gsvidaurre",
      "count": 5,
      "uuid": 13193023
    },
    {
      "user": "mikemahoney218",
      "count": 1,
      "uuid": 38229299
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 522,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/baRulho"
  },
  "_devurl": "https://github.com/ropensci/barulho",
  "_pkgdown": "https://docs.ropensci.org/baRulho",
  "_searchresults": 22,
  "_metadata": {
    "review": {
      "id": 609,
      "status": "reviewed",
      "version": "2.1.0",
      "organization": "rOpenSci Software Review",
      "url": "https://github.com/ropensci/software-review/issues/609"
    },
    "ropensci_category": "data-extraction"
  },
  "_rbuild": "4.5.3",
  "_assets": [
    "extra/baRulho.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ropensci/barulho",
  "_realowner": "ropensci",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2020-02-22"
    },
    {
      "version": "1.0.1",
      "date": "2020-03-09"
    },
    {
      "version": "1.0.2",
      "date": "2020-06-07"
    },
    {
      "version": "1.0.3",
      "date": "2021-02-11"
    },
    {
      "version": "1.0.4",
      "date": "2021-03-10"
    },
    {
      "version": "1.0.5",
      "date": "2021-04-21"
    },
    {
      "version": "1.0.6",
      "date": "2022-03-01"
    },
    {
      "version": "2.1.0",
      "date": "2024-04-21"
    },
    {
      "version": "2.1.2",
      "date": "2024-08-31"
    },
    {
      "version": "2.1.3",
      "date": "2025-01-25"
    },
    {
      "version": "2.1.5",
      "date": "2025-07-17"
    },
    {
      "version": "2.1.6",
      "date": "2025-10-24"
    }
  ],
  "_exports": [
    "add_noise",
    "align_test_files",
    "attenuation",
    "auto_realign",
    "blur_ratio",
    "detection_distance",
    "envelope_correlation",
    "excess_attenuation",
    "find_markers",
    "manual_realign",
    "master_sound_file",
    "noise_profile",
    "plot_aligned_sounds",
    "plot_blur_ratio",
    "plot_degradation",
    "set_reference_sounds",
    "signal_to_noise_ratio",
    "spcc",
    "spectrum_blur_ratio",
    "spectrum_correlation",
    "spot_ambient_noise",
    "synth_sounds",
    "tail_to_signal_ratio"
  ],
  "_datasets": [
    {
      "name": "master_est",
      "title": "Extended selection table of master acoustic data",
      "object": "master_est",
      "class": [
        "extended_selection_table",
        "data.frame"
      ],
      "fields": [
        "sound.files",
        "selec",
        "start",
        "end",
        "bottom.freq",
        "top.freq",
        "sound.id"
      ],
      "rows": 7,
      "table": true,
      "tojson": true
    },
    {
      "name": "test_sounds_est",
      "title": "Extended selection table with re-recorded playbacks",
      "object": "test_sounds_est",
      "class": [
        "extended_selection_table",
        "data.frame"
      ],
      "fields": [
        "sound.files",
        "selec",
        "start",
        "end",
        "bottom.freq",
        "top.freq",
        "sound.id",
        "transect",
        "distance"
      ],
      "rows": 25,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_noise",
      "title": "Add synthetic noise",
      "concept": [
        "miscellaneous"
      ],
      "topics": [
        "add_noise"
      ]
    },
    {
      "page": "align_test_files",
      "title": "Align test sound files",
      "concept": [
        "test sound alignment"
      ],
      "topics": [
        "align_test_files"
      ]
    },
    {
      "page": "attenuation",
      "title": "Estimate attenuation of sound pressure level",
      "concept": [
        "miscellaneous"
      ],
      "topics": [
        "attenuation"
      ]
    },
    {
      "page": "auto_realign",
      "title": "Fix small misalignments in the time position test sounds",
      "concept": [
        "test sound alignment"
      ],
      "topics": [
        "auto_realign"
      ]
    },
    {
      "page": "blur_ratio",
      "title": "Measure blur ratio in the time domain",
      "concept": [
        "quantify degradation"
      ],
      "topics": [
        "blur_ratio"
      ]
    },
    {
      "page": "detection_distance",
      "title": "Measure detection distance of sound",
      "concept": [
        "quantify degradation"
      ],
      "topics": [
        "detection_distance"
      ]
    },
    {
      "page": "envelope_correlation",
      "title": "Measure amplitude envelope correlation",
      "concept": [
        "quantify degradation"
      ],
      "topics": [
        "envelope_correlation"
      ]
    },
    {
      "page": "excess_attenuation",
      "title": "Measure excess attenuation",
      "topics": [
        "excess_attenuation"
      ]
    },
    {
      "page": "find_markers",
      "title": "Find acoustic markers on test sound files",
      "concept": [
        "test sound alignment"
      ],
      "topics": [
        "find_markers"
      ]
    },
    {
      "page": "manual_realign",
      "title": "Plot spectrograms to check test sound files alignment",
      "concept": [
        "test sound alignment"
      ],
      "topics": [
        "manual_realign"
      ]
    },
    {
      "page": "master_est",
      "title": "Extended selection table of master acoustic data",
      "concept": [
        "data sets"
      ],
      "topics": [
        "master_est"
      ]
    },
    {
      "page": "master_sound_file",
      "title": "Create a master sound file",
      "concept": [
        "prepare acoustic data"
      ],
      "topics": [
        "master_sound_file"
      ]
    },
    {
      "page": "noise_profile",
      "title": "Measure full spectrum sound noise profiles",
      "concept": [
        "miscellaneous"
      ],
      "topics": [
        "noise_profile"
      ]
    },
    {
      "page": "plot_aligned_sounds",
      "title": "Plot spectrograms to check test sound files alignment",
      "concept": [
        "test sound alignment"
      ],
      "topics": [
        "plot_aligned_sounds"
      ]
    },
    {
      "page": "plot_blur_ratio",
      "title": "Plot blur ratio",
      "concept": [
        "quantify degradation"
      ],
      "topics": [
        "plot_blur_ratio"
      ]
    },
    {
      "page": "plot_degradation",
      "title": "Save multipanel plots with reference and test sounds",
      "concept": [
        "quantify degradation"
      ],
      "topics": [
        "plot_degradation"
      ]
    },
    {
      "page": "set_reference_sounds",
      "title": "Set reference for test sounds",
      "concept": [
        "quantify degradation"
      ],
      "topics": [
        "set_reference_sounds"
      ]
    },
    {
      "page": "signal_to_noise_ratio",
      "title": "Measure attenuation as signal-to-noise ratio",
      "concept": [
        "quantify degradation"
      ],
      "topics": [
        "signal_to_noise_ratio"
      ]
    },
    {
      "page": "spcc",
      "title": "Measure spectrographic cross-correlation as a measure of sound distortion",
      "concept": [
        "quantify degradation"
      ],
      "topics": [
        "spcc"
      ]
    },
    {
      "page": "spectrum_blur_ratio",
      "title": "Measure blur ratio in the frequency domain",
      "concept": [
        "quantify degradation"
      ],
      "topics": [
        "spectrum_blur_ratio"
      ]
    },
    {
      "page": "spectrum_correlation",
      "title": "Measure frequency spectrum correlation",
      "concept": [
        "quantify degradation"
      ],
      "topics": [
        "spectrum_correlation"
      ]
    },
    {
      "page": "spot_ambient_noise",
      "title": "Find a segment of ambient noise to be used as reference",
      "concept": [
        "prepare acoustic data"
      ],
      "topics": [
        "spot_ambient_noise"
      ]
    },
    {
      "page": "synth_sounds",
      "title": "Create synthetic sounds",
      "concept": [
        "prepare acoustic data"
      ],
      "topics": [
        "synth_sounds"
      ]
    },
    {
      "page": "tail_to_signal_ratio",
      "title": "Measure reverberations as tail-to-signal ratio",
      "concept": [
        "quantify degradation"
      ],
      "topics": [
        "tail_to_signal_ratio"
      ]
    },
    {
      "page": "test_sounds_est",
      "title": "Extended selection table with re-recorded playbacks",
      "concept": [
        "data sets"
      ],
      "topics": [
        "test_sounds_est"
      ]
    }
  ],
  "_readme": "https://github.com/ropensci/baRulho/raw/master/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "base64enc",
    "bioacoustics",
    "bitops",
    "brio",
    "callr",
    "checkmate",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "crayon",
    "curl",
    "DBI",
    "Deriv",
    "desc",
    "diffobj",
    "digest",
    "dtw",
    "e1071",
    "evaluate",
    "farver",
    "fastmap",
    "fftw",
    "fs",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "htmltools",
    "httr",
    "igraph",
    "isoband",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "mime",
    "moments",
    "monitoR",
    "NatureSounds",
    "ohun",
    "openssl",
    "pbapply",
    "pkgbuild",
    "pkgconfig",
    "pkgload",
    "png",
    "praise",
    "processx",
    "proxy",
    "ps",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RCurl",
    "rjson",
    "rlang",
    "rprojroot",
    "s2",
    "S7",
    "scales",
    "seewave",
    "sf",
    "signal",
    "Sim.DiffProc",
    "stringi",
    "stringr",
    "sys",
    "testthat",
    "tuneR",
    "units",
    "vctrs",
    "viridis",
    "viridisLite",
    "waldo",
    "warbleR",
    "withr",
    "wk",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "align_test_sounds.Rmd",
      "filename": "align_test_sounds.html",
      "title": "Synthesize and align test sounds",
      "author": "Marcelo Araya-Salas, PhD",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Glossary",
        "Synthesize sounds",
        "Create master sound file for playback",
        "Align re-recorded sounds",
        "Manually fixing alignment",
        "Further aligning",
        "References"
      ],
      "created": "2023-08-28 03:50:23",
      "modified": "2025-10-31 15:32:58",
      "commits": 41
    },
    {
      "source": "quantify_degradation.Rmd",
      "filename": "quantify_degradation.html",
      "title": "Quantify degradation",
      "author": "Marcelo Araya-Salas, PhD",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Required data structure",
        "Setting reference sounds",
        "Measuring degradation",
        "Data format",
        "Visual inspection",
        "Blur ratio",
        "Spectrum blur ratio",
        "Excess attenuation",
        "Envelope correlation",
        "Spectrum correlation",
        "Signal-to-noise ratio",
        "Tail-to-signal ratio",
        "Spectrogram correlation",
        "Other measurements",
        "Noise profiles",
        "References"
      ],
      "created": "2023-08-28 03:50:23",
      "modified": "2025-10-31 15:32:58",
      "commits": 47
    }
  ],
  "_score": 6.664641975556125,
  "_indexed": true,
  "_nocasepkg": "barulho",
  "_universes": [
    "ropensci",
    "marce10"
  ],
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.7",
      "date": "2026-04-15T07:52:23.000Z",
      "distro": "noble",
      "commit": "50242c3fa0e2efd940362d844a666cfa95858211",
      "fileid": "f705535c27343443f7a154d3467a930fc2d47158988a6670fc33fcc6a0c8273a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442673177"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.7",
      "date": "2026-04-16T04:57:17.000Z",
      "commit": "50242c3fa0e2efd940362d844a666cfa95858211",
      "fileid": "3c0a40fd2fc2c88e4c2178847718baf3ef636be1612c73523f6188ec1d85e0fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442673177"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.7",
      "date": "2026-04-15T07:51:17.000Z",
      "commit": "50242c3fa0e2efd940362d844a666cfa95858211",
      "fileid": "965df3cfb3c4486e3e84d349a1fc075c53e8d641b6fd1db0df17e179c8c3e9bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442673177"
    },
    {
      "r": "4.5.1",
      "os": "wasm",
      "version": "2.1.7",
      "date": "2026-04-15T07:52:50.000Z",
      "commit": "50242c3fa0e2efd940362d844a666cfa95858211",
      "fileid": "7661aba19871ff93c384f77be7ccaf276e5230ae27a6ef8a52b95e1d40c2aeaf",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442673177"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.7",
      "date": "2026-04-15T07:51:05.000Z",
      "commit": "50242c3fa0e2efd940362d844a666cfa95858211",
      "fileid": "6ec0ec07a9096a5c7e642e9242d2ead0141810edfb0fa2912b55e988add393e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442673177"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.7",
      "date": "2026-04-15T07:50:55.000Z",
      "commit": "50242c3fa0e2efd940362d844a666cfa95858211",
      "fileid": "c4699e372950114813e116e03e9498de2607cc9c0b5db8be7b4fd03a68390a7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442673177"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.7",
      "date": "2026-04-15T07:51:03.000Z",
      "commit": "50242c3fa0e2efd940362d844a666cfa95858211",
      "fileid": "16b119a8710479608cc3092096b87c47cf175a2b63c16d6df681cafca2323613",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442673177"
    }
  ]
}