Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

audiomoth.rename

Rename audiomoth files in a readable format


Description

This function renames or copies files created with an Audiomoth device in a readable format including the data and time of recording.

Usage

audiomoth.rename(dir, overwrite = FALSE, tz = "", prefix = "")

Arguments

dir

a character vector, path to directory where the .WAV files are stored.

overwrite

a logical, to specify if the files should be renamed or copied, if TRUE the files are copied, if FALSE the files are renamed.

tz

a character vector defining a time zone specification. See as.POSIXct

prefix

a charcter vector for a prefix name to be added at the beginning of the file name.

Details

The format of the new file names follows the format of the SongMeter SM2/SM4 deveices: PREFIX_YYYYMMDD_HHMMSS.wav.

Value

1 logical vector indicating which operation succeeded for each of the files attempted.

Note

Be careful if you overwrite the files.

Author(s)

Jerome Sueur

See Also


seewave

Sound Analysis and Synthesis

v2.1.6
GPL (>= 2)
Authors
Jerome Sueur <sueur@mnhn.fr> [cre, au], Thierry Aubin [au], Caroline Simonis [au], Laurent Lellouch [main ctrb], Ethan C. Brown [ctrb], Marion Depraetere [ctrb], Camille Desjonqueres [ctrb], Francois Fabianek [ctrb], Amandine Gasc [ctrb], Eric Kasten [ctrb], Stefanie LaZerte [ctrb], Jonathan Lees [ctrb], Jean Marchal [ctrb], Andre Mikulec [ctrb], Sandrine Pavoine [ctrb], David Pinaud [ctrb], Alicia Stotz [ctrb], Luis J. Villanueva-Rivera [ctrb], Zev Ross [ctrb], Carl G. Witthoft [ctrb], Hristo Zhivomirov [ctrb].
Initial release
2020-06-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.