wavFindTags: detect tags in a .wav audio file

Description Usage Arguments Details Value Note Author(s)

View source: R/wavFindTags.R

Description

A .wav file is processed to detect tag pulses, and these are run through a simplified version of the tag finder to detect individual bursts from Lotek coded ID tags.

Usage

1
2
3
4
5
wavFindTags(f, tdb, pd = "findpulsetdbatch", pdpars = list(minsnr = 5,
  minfreq = 0, maxfreq = 24, plen = 2.5), tfpars = list(min_dfreq = -24,
  max_dfreq = 24, signal_slop = 30, frequency_slop = 0.2, pulses_to_confirm = 4,
  pulse_slop = 1.5, max_skipped_bursts = 3, default_freq = 166.376,
  unsigned_dfreq = 1), maxFreqSD = 0.2)

Arguments

f

path to the .wav file

tdb

path to the tag database file

pd

character scalar; which pulse detector to use. One of c("findpulsefdbatch" or "findpulsetdbatch"). Names one of the VAMP plugins in the library lotek-plugins.so Default: "findpulsetdbatch"

pdpars

named list of parameters to the pulse detector

tfpars

named list of parameters to the tag finder.

maxFreqSD

maximum freqsd of returned detections; default: 0.2 kHz

Details

This uses the same signal processing plugin as runs on the sensorgnome, but via a stripped down vamp-host (the version on the sensorgnome handles live input from attached funcubes).

Value

a data.frame of tag detections with these columns:

Note

uses external programs vamp-host and find_tags_unifile, and library lotek-plugins.so

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motusServer documentation built on May 19, 2019, 8:19 a.m.