timestamp_dmon: Add a timestamp DMON wav files

Description Usage Arguments Details Author(s) See Also

View source: R/timestamp_dmon.R

Description

Add a timestamp DMON wav files

Usage

1
timestamp_dmon(dmon_dir, prefix = "", suffix = "")

Arguments

dmon_dir

The directory containing dmon wav and xml files

prefix

String to be added to new filename before timestamp

suffix

String to be added to new filename after timestamp

Details

Digital acoustic monitoring instruments (DMON) hydrophones log audio data in a 'wav' file and metadata in a 'xml' file. This program simply renames the wav file to include the file start time, which is useful for viewing the data in other sound analysis software (such as Raven Pro). This is achieved by extracting the start time of the wav file from the associated xml header file. The original and new timestamps will be saved in an R data file ('dmon_filenames.rds') in the dmon data directory. See undo_timestamp_dmon() for how to convert back to the original timestamps. NOTE - this will only work for continuous DMON data (i.e., *not* duty cycled).

Author(s)

Hansen Johnson (hansen.johnson@dal.ca)

See Also

undo_timestamp_dmon


hansenjohnson/lfdcs2raven documentation built on July 4, 2021, 11:52 a.m.