corMatch) or binary point matching (binMatch).corMatch(survey, templates, parallel=FALSE, show.prog=FALSE, cor.method="pearson",
warn=TRUE, time.source="filename", write.wav=FALSE,...)binMatch(survey, templates, parallel=FALSE, show.prog=FALSE, warn=TRUE,
time.source="filename", write.wav=FALSE, report.amp=FALSE, ...)
Wave object.
The survey is the acoustic survey that you want to make detections within.corTemplateList object for corMatch or a binTemplateList object for binMatch.TRUE, mclapply is used for calculation of scores across all time bins for each template.
This option is not available for Windows operating systems.TRUE, progress will be reported during the score calculations.corMatch, the method used to calculate correlation coefficients (see ?cor).FALSE to suppress warnings about time bin duration and frequency bin span mismatches.filename will look in the name of the survey file (survey argument) for a date and time with format YYYY-MM-DD_HHMMSS_TimeZone.
"fileinfo" will take the date and time survey is a Wave object, should it be written to file? If FALSE, functions will return an error.TRUE, binMatch will return the mean ``on'' and ``off'' amplitudes as well as their difference (the score). See details.spectro function.templateScores, with the following slots:Wave object.corTemplateList or binTemplateList) used to calculate the scores.time.source="fileinfo") to be accurate the sound file must not have been edited (no samples added or removed) since its original creation. File copying and duplication (as from removeable media to a storage drive) should not affect the date modified, although the creation date will be reset. Date modified values are stored in the time zone when they were recorded but will be translated to the current time zone when read, which may result in errors of as much as 1 hour when recording and analysis span the beginning or end of daylight savings periods or more if recorded surveys are shared across time zones. Times derived from a date-time value encoded in the file name (time.source="filename") are more stable in this regard, and are automatically created with either fileCopyRename or mp3Subsamp.
Binary point matching scores each time frame by computing the difference between the mean amplitude in the ``on'' cells and the mean amplitude in the ``off'' cells. The resulting score can be a rough estimate of signal:noise.Towsey, M., B. Planitz, A. Nantes, J. Wimmer, and P. Roe. 2012. A toolbox for animal call recognition. Bioacoustics-the International Journal of Animal Sound and Its Recording. 21:107-125.
makeCorTemplate,
makeBinTemplate,
findPeaks,
getDetections,
getPeaks,
fileCopyRename,
mp3Subsamp