{
  "_id": "6a1fe1a9b401979e73439f04",
  "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://marce10.r-universe.dev",
  "Date/Publication": "2025-10-31 17:59:30 UTC",
  "RemoteUrl": "https://github.com/ropensci/baRulho",
  "RemoteRef": "HEAD",
  "RemoteSha": "50242c3fa0e2efd940362d844a666cfa95858211",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-03 08:07:21 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": "51802bba393340bc71ae6b716d5cfdb6",
  "_user": "marce10",
  "_type": "src",
  "_file": "baRulho_2.1.7.tar.gz",
  "_fileid": "075f851855dcc91f89bb06be56afd24c9fd04dbea69efa863256ff99bca67dda",
  "_filesize": 4531325,
  "_sha256": "075f851855dcc91f89bb06be56afd24c9fd04dbea69efa863256ff99bca67dda",
  "_created": "2026-06-03T08:07:21.000Z",
  "_published": "2026-06-03T08:11:21.911Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79249564287,
      "time": 180,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379096657"
    },
    {
      "job": 79249564349,
      "time": 198,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379102869"
    },
    {
      "job": 79249564336,
      "time": 100,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379069345"
    },
    {
      "job": 79249564462,
      "time": 187,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379098564"
    },
    {
      "job": 79248946533,
      "time": 233,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379035511"
    },
    {
      "job": 79249564424,
      "time": 151,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379085938"
    },
    {
      "job": 79249564471,
      "time": 153,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379087213"
    },
    {
      "job": 79249564365,
      "time": 129,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379078847"
    },
    {
      "job": 79249564408,
      "time": 147,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379084981"
    }
  ],
  "_buildurl": "https://github.com/r-universe/marce10/actions/runs/26871831966",
  "_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",
    "description": "I am an evolutionary behavioral ecologist and scientific programmer/software developer 🇨🇷",
    "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-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": 13245502,
    "type": "user",
    "name": "Marcelo Araya-Salas",
    "description": "I am an evolutionary behavioral ecologist and scientific programmer/software developer 🇨🇷"
  },
  "_downloads": {
    "count": 323,
    "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,
  "_rbuild": "4.6.0",
  "_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/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "base64enc",
    "bioacoustics",
    "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",
    "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.597695185925512,
  "_indexed": false,
  "_nocasepkg": "barulho",
  "_universes": [
    "marce10"
  ],
  "_indexurl": "https://ropensci.r-universe.dev/baRulho",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.7",
      "date": "2026-06-03T08:09:53.000Z",
      "distro": "noble",
      "commit": "50242c3fa0e2efd940362d844a666cfa95858211",
      "fileid": "3290deea9badf98f4230ad80ee401e81ecc4d84d16fabc6599dc2d20eeecdf52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26871831966"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.7",
      "date": "2026-06-03T08:10:09.000Z",
      "distro": "noble",
      "commit": "50242c3fa0e2efd940362d844a666cfa95858211",
      "fileid": "572e4072fbe0dd13fb12aa573958485007a4e2122e3033c168e0da6ed3986ed2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26871831966"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.7",
      "date": "2026-06-03T08:08:56.000Z",
      "commit": "50242c3fa0e2efd940362d844a666cfa95858211",
      "fileid": "1e06e5bbe0aacebf53ee49645ca1b6190e7d234d49390e5df24e81f7a55120a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26871831966"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.7",
      "date": "2026-06-03T08:09:48.000Z",
      "commit": "50242c3fa0e2efd940362d844a666cfa95858211",
      "fileid": "f6b6fa8f0a643a414bd59242eeb1ce85a287f88aad4fc7aafad7ea3262502873",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26871831966"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.7",
      "date": "2026-06-03T08:10:14.000Z",
      "commit": "50242c3fa0e2efd940362d844a666cfa95858211",
      "fileid": "64604f5a4a586a94050fbc0b4727f6e3dd9bfadeb82a5cd27c9b025c949c9649",
      "status": "success",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26871831966"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.7",
      "date": "2026-06-03T08:09:07.000Z",
      "commit": "50242c3fa0e2efd940362d844a666cfa95858211",
      "fileid": "811622d8e732903886bd0846e22bf60f239933b3805cac011bc4786403cfd6a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26871831966"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.7",
      "date": "2026-06-03T08:08:43.000Z",
      "commit": "50242c3fa0e2efd940362d844a666cfa95858211",
      "fileid": "5a44676e1968d85a49bc5706c027b6be7bd7390bb8506e2b319afc02e8244919",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26871831966"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.7",
      "date": "2026-06-03T08:08:54.000Z",
      "commit": "50242c3fa0e2efd940362d844a666cfa95858211",
      "fileid": "b5c011bc00917ecfc08306e9661ddb375cc26cc2745c8a46b9734b89a9b5d21d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26871831966"
    }
  ]
}