Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Extract sensor metadata from wav files #34

Open
atruskie opened this issue Apr 9, 2016 · 3 comments
Open

Extract sensor metadata from wav files #34

atruskie opened this issue Apr 9, 2016 · 3 comments

Comments

@atruskie
Copy link
Member

atruskie commented Apr 9, 2016

Wildlife acoustics now apparently embeds metadata into the headers of WAVE files. This information is only encoded by the newer SM3 and SM4 sensors.

In particular the sensor's unique id is stored.

When harvesting, this metadata should be extracted and stored in the audio recordings notes field

@cofiem
Copy link
Contributor

cofiem commented Apr 9, 2016

Really? Huh. Fair enough. Ffmpeg to the rescue!

@atruskie
Copy link
Member Author

atruskie commented Mar 22, 2017

Adding to this for my record, here's a hex snippet from the start of an SM2 file. Interestingly enough there seems to be a sensor model, firmware version, and datestamp (with timezone!) in the INFO header.

sm2 wav header

@atruskie
Copy link
Member Author

Attached is the official WA meta header definition. It's was released early in 2017 as an opensource header.

wa_meta-1.1.zip

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants