Good day!
I was wondering whether it is possible to revert expanded files back into the T.WAV (triggered) format.
The advantage of the expanded files is that we get the "true" timestamps of acoustic events. However, the expanded files take up a lot more storage space than the triggered format.
Therefore, my ideal scenario would be to expand the files, run some analysis, and afterwards convert the files back into the triggered format for archiving.
Does anyone know if this is possible? Ideally, it could be done with a script, so it could be done quickly for many files.
Many thanks!
Yes, the Config App uses the AudioMoth-Utils library which is also available as a Node.js module through npm. https://www.npmjs.com/package/audiomoth-utils
Great stuff, thanks!
I also found the AudioMoth-Utils on Github which I have already succesfully tested. I'm mostly working with Python, so an expansion function in Python would be great (as I'm not skilled enought to write it myself).
But for now I can just call the JavaScript function from Python and expand my files like that.
Best regards! :)
It would be possible, but we don't haven't written any software to do it. We imagined people archiving the small T.WAV file and expanding it to full size whenever that was needed. The format and an example of expansion code is included in this application note if anyone wants to try - https://github.com/OpenAcousticDevices/Application-Notes/blob/master/AudioMoth_Triggered_T_WAV_File_Format/AudioMoth_Triggered_T_WAV_File_Format.pdf.