Do the .WAV files produced by AudioMoth include the Device ID? If so, does anyone have a snippet of R code to read this info?
You can use Advanced Renamer to add the AudioMoth serial number to a batch of .wav filenames (not necessarily from the same device) using the <File Content:X:Y> tag, where X is the starting offset and Y the number of bytes to copy.
www.advancedrenamer.com
For example using the Add method and
Add: <File Content:320:26>-
At index: 0
will add "AudioMoth xxxxxxxxxxxxxxxx-" to the beginning of each filename
May be useful for somebody.