This is the error message while adjusting the file path (moving the "/", testing different survey directories, etc). And below that the script after we fixed a couple errors, which yields the same getOneClip error message:
Calling corMatch for NA . . .
Error in getOneClip(clip, name, output, write.wav) :
clip argument seems to be a file name but no file with the name NA exists.
> batchCorMatch(dir.survey = "/AMB/A5C/", ext.survey = "wav", templates = capcon.temp7,
+ parallel = FALSE, show.prog = TRUE, cor.method = "pearson", warn = TRUE, time.source = "fileinfo",
+ fd.rat = 1)
batchCorMatch(dir.survey = "AMB/A5C", ext.survey = "wav", templates = capcon.temp7,
parallel = FALSE, show.prog = TRUE, cor.method = "pearson", warn = TRUE, time.source = "fileinfo",
fd.rat = 1)