# NOT RUN {
# Not run because it will create a file in user's working directory
data(survey)
writeWave(survey, "survey.wav")
meta <- fileCopyRename(
files = "survey.wav",
to = getwd(),
csv.name = "sampleMeta.csv",
loc.prefix = "MABI06",
ext = "wav",
CardRecorderID = 1)
# If your recorder's clock is set to GMT but your OS is not:
altmeta <- fileCopyRename(
files = "survey.wav",
to = getwd(),
csv.name = "sampleMeta.csv",
loc.prefix = "MABI06",
ext = "wav",
rec.tz = "GMT",
CardRecorderID = 1)
file.remove("survey.wave")
# }
Run the code above in your browser using DataLab