Description Usage Arguments Details Author(s) See Also
View source: R/timestamp_dmon.R
Add a timestamp DMON wav files
1 | timestamp_dmon(dmon_dir, prefix = "", suffix = "")
|
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 |
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).
Hansen Johnson (hansen.johnson@dal.ca)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.